mirror of https://github.com/v2ray/v2ray-core
include base error
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 {
|
||||
return nil, newError("unable to register Dispatcher")
|
||||
return nil, newError("unable to register Dispatcher").Base(err)
|
||||
}
|
||||
return d, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue