mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-03 11:09:08 -04:00
include detailed error
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user