master
Kevin Wan 3 years ago committed by GitHub
parent ba5f8045a2
commit 9d0b51fa26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ func Error(w http.ResponseWriter, err error) {
return return
} }
code, body := errorHandler(err) code, body := handler(err)
if body == nil { if body == nil {
w.WriteHeader(code) w.WriteHeader(code)
return return

Loading…
Cancel
Save