Compare commits

..

1 commit

Author SHA1 Message Date
dependabot[bot]
47f6fcf050
build(deps): bump boto3 in /src/sla_monitor in the minor-and-patch group
Bumps the minor-and-patch group in /src/sla_monitor with 1 update: [boto3](https://github.com/boto/boto3).


Updates `boto3` from 1.43.53 to 1.43.57
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.43.53...1.43.57)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.43.57
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 06:34:08 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ import json
import logging
import os
import time
from datetime import date, datetime, timedelta, timezone
from datetime import datetime, timedelta, timezone
from urllib import error, parse, request
from zoneinfo import ZoneInfo
@ -366,7 +366,7 @@ def handler(event, context):
now_et = now.astimezone(EASTERN)
if start_date:
start = date.fromisoformat(start_date)
start = datetime.strptime(start_date, "%Y-%m-%d").date()
if now_et.date() < start:
logger.info("Before start date %s, skipping", start_date)
return {"skipped": True, "reason": "before_start_date"}

View file

@ -191,7 +191,7 @@ def handler(event, context):
logger.info("Skipped %s - not a Front teammate", email)
summary["not_in_front"] += 1
except Exception as e: # noqa: BLE001 - per-user isolation: one failed update must not abort the sync
except Exception as e:
logger.error("Error updating %s: %s", email, e)
summary["errors"] += 1
summary["error_details"].append({"email": email, "message": str(e)})