mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 17:38:45 -05:00
update error propagation
This commit is contained in:
parent
b98f3d3358
commit
94e01672d7
@ -108,8 +108,7 @@ func DialKCP(ctx context.Context, dest v2net.Destination) (internet.Connection,
|
||||
src := internet.DialerSourceFromContext(ctx)
|
||||
rawConn, err := internet.DialSystem(ctx, src, dest)
|
||||
if err != nil {
|
||||
log.Trace(newError("failed to dial to dest: ", err).AtError())
|
||||
return nil, err
|
||||
return nil, newError("failed to dial to dest: ", err).AtWarning().Base(err)
|
||||
}
|
||||
conn := &ClientConnection{
|
||||
Conn: rawConn,
|
||||
|
Loading…
Reference in New Issue
Block a user