mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-22 16:41:28 +08:00
Don't include http error code in log
This commit is contained in:
parent
0eed542b2e
commit
93bb792964
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user