mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
fix #1852
This commit is contained in:
parent
f397c30caf
commit
e2222a8066
|
@ -240,6 +240,10 @@ func (g *Group) getAllChildren() []*Group {
|
||||||
|
|
||||||
// Unwrap implements the dynamic std errors interface and it returns the parent Group.
|
// Unwrap implements the dynamic std errors interface and it returns the parent Group.
|
||||||
func (g *Group) Unwrap() error {
|
func (g *Group) Unwrap() error {
|
||||||
|
if g == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
return g.parent
|
return g.parent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user