diff --git a/router/rerrors/errors.go b/router/rerrors/errors.go index 81ee75e..afaa930 100644 --- a/router/rerrors/errors.go +++ b/router/rerrors/errors.go @@ -188,8 +188,6 @@ func (m *ErrorMiddleware) Wrap(next http.Handler) http.Handler { return } - _, _ = w.Write(b) - return }