From 96fa1f58f5b195a3c59e99545f28a5ede7e2ea27 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Oct 2025 10:51:08 +0000 Subject: [PATCH] Update log message for Phase 3 delete operation to reflect the corrected logic. --- bitbylaw/steps/advoware_cal_sync/calendar_sync_event_step.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbylaw/steps/advoware_cal_sync/calendar_sync_event_step.py b/bitbylaw/steps/advoware_cal_sync/calendar_sync_event_step.py index 110e0633..4e2e4536 100644 --- a/bitbylaw/steps/advoware_cal_sync/calendar_sync_event_step.py +++ b/bitbylaw/steps/advoware_cal_sync/calendar_sync_event_step.py @@ -537,7 +537,7 @@ async def handler(event, context): await conn.execute("UPDATE calendar_sync SET advoware_frnr = $1, sync_status = 'synced' WHERE sync_id = $2;", int(new_frnr), row['sync_id']) logger.info(f"Phase 3: Recreated Advoware appointment {new_frnr} for sync_id {row['sync_id']}") except Exception as e: - logger.warning(f"Phase 3: Failed to recreate Advoware for sync_id {row['sync_id']}: {e}") + logger.warning(f"Phase 3: Failed to delete Advoware for sync_id {row['sync_id']}: {e}") async with conn.transaction(): await conn.execute("UPDATE calendar_sync SET sync_status = 'failed' WHERE sync_id = $1;", row['sync_id']) else: