mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
fix #1629
This commit is contained in:
@@ -125,9 +125,14 @@ func (s *Struct) Acquire(ctx *context.Context) (reflect.Value, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
// return emptyValue, err
|
||||
return ctrl, err
|
||||
s.Container.GetErrorHandler(ctx).HandleError(ctx, err)
|
||||
|
||||
if ctx.IsStopped() {
|
||||
// return emptyValue, err
|
||||
return ctrl, err
|
||||
} // #1629
|
||||
}
|
||||
|
||||
elem.FieldByIndex(b.Input.StructFieldIndex).Set(input)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user