Fix error message
This commit is contained in:
parent
bb1a71a637
commit
e02a3d9af1
1 changed files with 1 additions and 1 deletions
2
main.go
2
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue