1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00

include base error

This commit is contained in:
Darien Raymond 2018-04-11 20:17:08 +02:00
parent 666a1a17f2
commit 622cb529a9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

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