diff --git a/router.go b/router.go index dbb8d1417..0eb9d9f82 100644 --- a/router.go +++ b/router.go @@ -122,6 +122,7 @@ func (a *App) Group(path string) *App { g.prefix = filepath.Join(a.prefix, path) g.router = a.router g.Middleware = a.Middleware.clone() + g.ErrorHandlers = a.ErrorHandlers g.root = a if a.root != nil { g.root = a.root