mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
docfix #1566
Former-commit-id: fe2dbe46ac8153ef4db0b5788794bf907b98baad
This commit is contained in:
@@ -407,7 +407,11 @@ func (c *ControllerActivator) handlerOf(relPath, methodName string) context.Hand
|
||||
// c.injector.Container.GetErrorHandler(ctx).HandleError(ctx, err)
|
||||
// }
|
||||
c.injector.Container.GetErrorHandler(ctx).HandleError(ctx, err)
|
||||
return
|
||||
// allow skipping struct field bindings
|
||||
// errors by a custom error handler.
|
||||
if ctx.IsStopped() {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
b := ctrl.Interface().(BaseController)
|
||||
|
||||
Reference in New Issue
Block a user