From 93bb792964a7ab2049e037e366139e29f89bee93 Mon Sep 17 00:00:00 2001 From: maru Date: Sun, 7 Apr 2024 17:29:21 -0400 Subject: [PATCH] Don't include http error code in log --- api/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/error.go b/api/error.go index 2fe0c42..1576523 100644 --- a/api/error.go +++ b/api/error.go @@ -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) }