-
Notifications
You must be signed in to change notification settings - Fork 9
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
Handle malformed ical events #746
Comments
This is indeed a weird message. We could just try-catch the |
Ah this is a log error not an exception: Additionally there's an (empty) issue about it here: python-caldav/caldav#266 If python-caldav uses a separate logger we could mute it (I actually haven't looked into how loggers fully work in python...), or we could submit a patch to add a config option like suggested in the ticket. |
Oh I see! Providing a patch to make that configurable might be the best solution for everyone. In the meantime we could indeed just mute the caldav logger. I think you can simply do it like this: logger = logging.getLogger('caldav')
logger.setLevel(logging.DEBUG) |
I think setting the log level to critical should fix that for us. |
Ahm, yes of course 😅 |
Perhaps it could be downgraded to error again, as the last release of caldav library sends sends this as warnings :-) |
Ah thanks for letting us know! We already planned upgrading to caldav 1.4.0 in #757 |
Sentry error:
https://thunderbird.sentry.io/issues/6058269302/events/222965a6d0b44d16b9ad497447b81a02/?project=4505428124827648&referrer=issue_details.related_trace_issue
It seems like some caldav servers can provide malformed events but also error out on requesting them? It's a pretty weird error message, we should at least look at potential solutions here.
The text was updated successfully, but these errors were encountered: