diff --git a/internal/debug/debug.go b/internal/debug/debug.go index 9e8055ca4..792146249 100644 --- a/internal/debug/debug.go +++ b/internal/debug/debug.go @@ -28,7 +28,7 @@ func EnableDebugServer() { enc := json.NewEncoder(w) enc.SetEscapeHTML(true) enc.SetIndent("", "\t") - enc.Encode(config.Get()) + _ = enc.Encode(config.Get()) }) h.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { _ = h.Walk(func(route *mux.Route, router *mux.Router, ancestors []*mux.Route) error {