From e02a3d9af1a971de6e83d1a31860a3455f4b6a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 10 Oct 2022 01:33:40 +0200 Subject: [PATCH] Fix error message --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 740b5fe..e00b773 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,7 @@ func (rcv *receiver) handleWebhooks(w http.ResponseWriter, r *http.Request) { defer resp.Body.Close() if resp.StatusCode != http.StatusOK { - rcv.logger.Error("ntfy: received status code %d", resp.StatusCode) + rcv.logger.Errorf("ntfy: received status code %d", resp.StatusCode) } }