From 309f4e4856166d8dcbe7b3a4a8769b5da92c02b5 Mon Sep 17 00:00:00 2001 From: Moritz Graf Date: Tue, 15 Sep 2026 22:03:54 +0200 Subject: [PATCH] fix(calendar): improve friendly error message when regensburg calendar is not configured --- skills/google-calendar/scripts/google_calendar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/google-calendar/scripts/google_calendar.py b/skills/google-calendar/scripts/google_calendar.py index 1743cd7..ac26daa 100755 --- a/skills/google-calendar/scripts/google_calendar.py +++ b/skills/google-calendar/scripts/google_calendar.py @@ -91,8 +91,8 @@ def resolve_calendar_id(calendar_identifier: Optional[str] = None) -> str: if ident_lower in ("regensburg", "rgb", "regensburg-und-mehr", "regensburg_und_mehr", "events", "stadt"): if not CALENDAR_ID_REGENSBURG: raise ValueError( - "CALENDAR_ID_REGENSBURG is not configured. Please set the environment variable " - "CALENDAR_ID_REGENSBURG to the Google Calendar ID of the Regensburg calendar." + "Der Regensburg- / Event-Kalender ist noch nicht freigeschaltet (Berechtigungen ausstehend). " + "Bitte nutze vorerst den Familienkalender ('family')." ) return CALENDAR_ID_REGENSBURG