Commit graph

2 commits

Author SHA1 Message Date
Francisco Solla
e481819d15 C147: Format files with prettier 2026-08-27 19:46:05 -03:00
Francisco Solla
9b728b3338 C147: Add logging to diagnose Google Calendar sync issues in production
- Add logging to readGoogleServiceAccountCredentials for missing/malformed env
- Add logging to runCampaignCalendarSync when sync is skipped
- Add logging to ensureGoogleCalendarPushChannel for channel status/errors
- Add logging to runSyncPass for sync outcomes (only when changes occur)
- Add logging to error catch blocks for better error tracking
- Use payload.logger where available, console.warn for env-only context
- All logs use consistent [GoogleCalendarSync] prefix
- Logging is conditional to reduce noise in production
2026-08-27 19:46:05 -03:00