3 Commits

Author SHA1 Message Date
Marco Gallegos
0ef3d19f08 Fix build error by making Google Calendar JSON non-critical
- Don't throw error if GOOGLE_SERVICE_ACCOUNT_JSON is invalid
- Just warn and continue with Google Calendar disabled
- Allow build to complete even if Google Calendar config is wrong
- Prevent 'Failed to collect page data' build error

Fixes Coolify deployment issue
2026-01-18 10:41:47 -06:00
Marco Gallegos
02b933d893 Fix JSON parsing error in Google Calendar initialization
- Add try-catch for JSON.parse with better error handling
- Validate credentials structure before use
- Add detailed error logging for debugging
- Prevent build failure from invalid GOOGLE_SERVICE_ACCOUNT_JSON

Fixes SyntaxError during Next.js build process
2026-01-18 09:54:51 -06:00
Marco Gallegos
93366fc596 Add detailed logging to API endpoints for debugging 500 errors 2026-01-18 08:49:16 -06:00