From 016d022303374b5b32e799c0f2f01904f3d9de31 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 5 Jul 2019 22:09:17 +0200 Subject: [PATCH] Improved error handling --- Calendar/CalendarInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/CalendarInterface.py b/Calendar/CalendarInterface.py index 86884d2..6f42cec 100644 --- a/Calendar/CalendarInterface.py +++ b/Calendar/CalendarInterface.py @@ -114,7 +114,7 @@ class CalendarInterface (DataSourceInterface): occurrences.append(merged_event) return occurrences except Exception as ex: - print("\"is_repeating_in_range\" failed while processing: dtstart.tzinfo="+str(event.begin_datetime.tzinfo)+" rrule="+r_string) + print("\"is_repeating_in_range\" failed while processing: dtstart="+str(event.begin_datetime)+" dtstart.tzinfo="+str(event.begin_datetime.tzinfo)+" rrule="+r_string) raise ex def __merge_event_data__ (self, event, start = None):