mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
include detailed error
This commit is contained in:
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
Block a user