mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -05: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 {
|
||||
return nil, newError("unable to register Dispatcher")
|
||||
return nil, newError("unable to register Dispatcher").Base(err)
|
||||
}
|
||||
return d, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user