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) } }