1
0
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:
Darien Raymond 2017-09-29 18:10:17 +02:00
parent d1d73d6dbb
commit b862365832

View File

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