diff --git a/pkg/icassigner/calendar/ical.go b/pkg/icassigner/calendar/ical.go index 6ab3393..900ebd4 100644 --- a/pkg/icassigner/calendar/ical.go +++ b/pkg/icassigner/calendar/ical.go @@ -155,7 +155,7 @@ func CheckAvailability(icalUrl string, name string, now time.Time, unavailabilit if tzString := cal.Props.Get("X-WR-TIMEZONE"); tzString != nil { loc, err = time.LoadLocation(tzString.Value) if err != nil { - log.Printf("Unable to parse timezone %q, due %v", tzString.Value, err) + return true, fmt.Errorf("unable to parse timezone %q, due %w", tzString.Value, err) } }