Don't include http error code in log
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user