From 1280c76532adc440b7e001d3e31a9ad6ebe73bd6 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Sun, 25 Aug 2024 23:07:39 +0100 Subject: [PATCH] Remove unnecessary warnings when events have missing Description/Location fields --- calendar.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/calendar.go b/calendar.go index 9413465..edbf18b 100644 --- a/calendar.go +++ b/calendar.go @@ -143,7 +143,6 @@ func (filter Filter) matchesEvent(event ics.VEvent) bool { eventDescription := event.GetProperty(ics.ComponentPropertyDescription) var eventDescriptionValue string if eventDescription == nil { - slog.Debug("Event has no Description, but continuing checking filters", "event_summary", eventSummary.Value, "filter", filter.Description) eventDescriptionValue = "" } else { eventDescriptionValue = eventDescription.Value @@ -160,7 +159,6 @@ func (filter Filter) matchesEvent(event ics.VEvent) bool { eventLocation := event.GetProperty(ics.ComponentPropertyLocation) var eventLocationValue string if eventLocation == nil { - slog.Warn("Event has no Location, but continuing checking filters", "event_summary", eventSummary.Value, "filter", filter.Description) eventLocationValue = "" } else { eventLocationValue = eventLocation.Value