diff --git a/pkg/notifications/gotify.go b/pkg/notifications/gotify.go index c9c6af8..3a4a539 100644 --- a/pkg/notifications/gotify.go +++ b/pkg/notifications/gotify.go @@ -83,6 +83,7 @@ func (n *gotifyTypeNotifier) Fire(entry *log.Entry) error { resp, err := http.Post(n.getURL(), "application/json", jsonBodyBuffer) if err != nil { fmt.Println("Failed to send Gotify notification: ", err) + return } defer resp.Body.Close()