diff --git a/exceptions/exceptions.go b/exceptions/exceptions.go index 897e63d..24d8de4 100644 --- a/exceptions/exceptions.go +++ b/exceptions/exceptions.go @@ -61,6 +61,7 @@ func (e Exception) ServeHTTP(w http.ResponseWriter, r *http.Request) { handler, ok := r.Context().Value(handlerFuncCtxKey).(HandlerFunc) if !ok { e.handler(e, w, r) + return } handler(e, w, r)