mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-29 23:36:25 -04:00
include base error
This commit is contained in:
parent
666a1a17f2
commit
622cb529a9
@ -39,7 +39,7 @@ func NewDefaultDispatcher(ctx context.Context, config *Config) (*DefaultDispatch
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := v.RegisterFeature((*core.Dispatcher)(nil), d); err != nil {
|
if err := v.RegisterFeature((*core.Dispatcher)(nil), d); err != nil {
|
||||||
return nil, newError("unable to register Dispatcher")
|
return nil, newError("unable to register Dispatcher").Base(err)
|
||||||
}
|
}
|
||||||
return d, nil
|
return d, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user