City-of-Bloomington / drupal-theme-cob

COB Theme for the drupal website
https://bloomington.in.gov
GNU Affero General Public License v3.0
2 stars 1 forks source link

_cob_events function causes error when GCal endpoint is down #178

Closed sethCOB closed 4 years ago

sethCOB commented 5 years ago

If Google Calendar is down, the page refuses to display and instead returns an error.

For our particular case, I narrowed it down to the _cob_events function in cob.theme.

Since we were in a hurry, my temporary fix was to just comment out the areas of the main theme that called _cob_events until Calendar services were restored. Introducing error handling into the function would help prevent this from taking down the site in the future.

inghamn commented 5 years ago

This is a problem with our Google Calendar module for Drupal.