Fix error message

This commit is contained in:
Thorben Günther 2022-10-10 01:33:40 +02:00
parent bb1a71a637
commit e02a3d9af1
No known key found for this signature in database
GPG key ID: 415CD778D8C5AFED

View file

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