error proof caldav_event

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-11-18 16:00:48 +01:00
parent 79851fa223
commit bfae6a5800

View File

@@ -73,7 +73,7 @@ def get_ongoing_or_next_event(url, username, password):
return next_event_dict return next_event_dict
except Exception as e: except Exception as e:
print(f"Error accessing {url}: {e}") print(f"Error accessing {url}: {str(e)[:30]}...")
return None return None
def is_expired(event_dict: dict): def is_expired(event_dict: dict):