Skip to content

Commit

Permalink
fix: log as warn level
Browse files Browse the repository at this point in the history
close #1
  • Loading branch information
WingLim committed Aug 29, 2021
1 parent ecb13db commit 248b270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (w *WebHook) ServeHTTP(rw http.ResponseWriter, r *http.Request, next caddyh
code, err := w.hook.Handle(r, hc)
if err != nil {
rw.WriteHeader(code)
w.log.Error(err.Error())
w.log.Warn(err.Error())
return caddyhttp.Error(code, err)
}

Expand Down

0 comments on commit 248b270

Please sign in to comment.