diff --git a/routes.go b/routes.go index 433d12c..d00144c 100644 --- a/routes.go +++ b/routes.go @@ -182,6 +182,9 @@ func auth(n httprouter.Handle) httprouter.Handle { } else if err == http.ErrNoCookie { gothic.BeginAuthHandler(w, r) return + } else if err != nil { + fmt.Fprintln(w, err) + return } } }