mirror of https://github.com/v2ray/v2ray-core
include detailed error
parent
d1d73d6dbb
commit
b862365832
|
@ -17,7 +17,7 @@ func Dial(ctx context.Context, dest net.Destination) (internet.Connection, error
|
|||
|
||||
conn, err := dialWebsocket(ctx, dest)
|
||||
if err != nil {
|
||||
return nil, newError("failed to dial WebSocket")
|
||||
return nil, newError("failed to dial WebSocket").Base(err)
|
||||
}
|
||||
return internet.Connection(conn), nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue