You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated by script to version 5.7 earlier this week. I can't remember what version I was using before, it was an earlier 5.x version. Since updating the to the latest version I've noticed that HTTP errors when fetching calendars doesn't cause the script to exit with an error any more.
Here is an example of the current behaviour from the logs:
Mar 16, 2023, 2:12:10 PM Info Error: Encountered HTTP error 503 when accessing http://mail.skao.int/owa/calendar/[email protected]/d55e7b7957894fa9b901e9d48fcdaa2a1355447573978899198/calendar.ics
Mar 16, 2023, 2:12:10 PM Info Syncing 0 calendars to SKA Solution Calendar (FG)
Mar 16, 2023, 2:12:11 PM Info Working on calendar: vivosa.co.za_gmpn07gq3h5qkpnfm1lntsp5og@group.calendar.google.com
Mar 16, 2023, 2:12:14 PM Info Fetched 195 existing events from SKA Solution Calendar (FG)
Mar 16, 2023, 2:12:14 PM Info Parsed 0 events from ical sources
Mar 16, 2023, 2:12:14 PM Info Processing 0 events
Mar 16, 2023, 2:12:14 PM Info Done processing events
Mar 16, 2023, 2:12:14 PM Info Checking 195 events for removal
Before this is what happened:
Mar 12, 2023, 9:52:06 PM Info Exception: Request failed for https://exchange.skatelescope.org returned code 503. Truncated server response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- Copyright (c) 2006 Microsoft Corporation. All righ... (use muteHttpExceptions option to examine full response)
Mar 12, 2023, 9:52:06 PM Info Syncing 0 calendars to SKA Solution Calendar (FG)
Mar 12, 2023, 9:52:06 PM Error no calendars were fetched
at startSync(Code:139:7)
Since the script does not exit with an error anymore, it ends up deleting all the calendar events in the target calendar and this is not desired behaviour for me.
Is this the intended behaviour for version 5.7 or is there something wrong with my settings, etc.?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I updated by script to version 5.7 earlier this week. I can't remember what version I was using before, it was an earlier 5.x version. Since updating the to the latest version I've noticed that HTTP errors when fetching calendars doesn't cause the script to exit with an error any more.
Here is an example of the current behaviour from the logs:
Before this is what happened:
Since the script does not exit with an error anymore, it ends up deleting all the calendar events in the target calendar and this is not desired behaviour for me.
Is this the intended behaviour for version 5.7 or is there something wrong with my settings, etc.?
Beta Was this translation helpful? Give feedback.
All reactions