1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-14 01:09:51 +03:00
parent fd5a2a7c58
commit 7113165cb8
3 changed files with 34 additions and 11 deletions

View File

@@ -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)
}
}