Don't include http error code in log

voucher-compensation
maru 2024-04-07 17:29:21 -04:00
parent 0eed542b2e
commit 93bb792964
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ import (
)
func httpError(w http.ResponseWriter, r *http.Request, error string, code int) {
log.Printf("%s: %s %d\n", r.URL.Path, error, code)
log.Printf("%s: %s\n", r.URL.Path, error)
http.Error(w, error, code)
}