-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue processing after calendar.events.insert errors #282
Comments
+1 |
In |
This fixes some of my issue with partial broken external ics feeds, it just carries on and imports what it can import
|
Would it be possible, after logging the error, to continue processing the next events and other calendars?
I have a certain event, which causes this error:
Adding new event "some-uid"
GoogleJsonResponseException: API call to calendar.events.insert failed with error: The specified time range is empty.
at unknown function
at callWithBackoff(Helpers:877:16)
at processEvent(Helpers:227:20)
at unknown function
at startSync(Code:203:15)
After this error, the scripts stops and does not continue.
So this is not about fixing the error which caused the exception, but better exception handing and continue processing.
FYI: The error was caused by importing an event with a DTEND which is before the DTSTART.
The text was updated successfully, but these errors were encountered: