diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-22 15:36:25 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-22 15:36:25 -1000 |
| commit | 317d66d9f39d9ab4fbfd592b65ca2548cb072806 (patch) | |
| tree | 06f8483a2c860ff38f44928381227c3a0bdfcfc7 /cmd | |
| parent | e97a1bc259d3aa91956ec73a522421cdb621ae57 (diff) | |
Add debug logging for Google Calendar
Log calendar ID on init and event count on fetch to help
diagnose configuration issues.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dashboard/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 3d8b330..71f0375 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -89,6 +89,8 @@ func main() { googleCalendarClient, err = api.NewGoogleCalendarClient(context.Background(), cfg.GoogleCredentialsFile, cfg.GoogleCalendarID) if err != nil { log.Printf("Warning: failed to initialize Google Calendar client: %v", err) + } else { + log.Printf("Google Calendar client initialized for calendar: %s", cfg.GoogleCalendarID) } } |
