diff --git a/command/serve.go b/command/serve.go index 9ad6603..8b06e52 100644 --- a/command/serve.go +++ b/command/serve.go @@ -194,7 +194,7 @@ func (ph *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { func checkMethodPath(w http.ResponseWriter, r *http.Request, mr methodRegex) error { req, ok := mr[r.Method] if !ok { - log.Debug().Msgf("%s is not a registerd HTTP method", r.Method) + fmt.Printf("%s is not a registered HTTP method\n", r.Method) http.Error(w, http.StatusText(http.StatusMethodNotAllowed), http.StatusMethodNotAllowed) return ErrHTTPMethodNotAllowed{httpMethod: r.Method} }