From b862365832c52414ca0bdfc9b6066d9f2aa85339 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 29 Sep 2017 18:10:17 +0200 Subject: [PATCH] include detailed error --- transport/internet/websocket/dialer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/websocket/dialer.go b/transport/internet/websocket/dialer.go index 93a0d75c..b3cf9824 100644 --- a/transport/internet/websocket/dialer.go +++ b/transport/internet/websocket/dialer.go @@ -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 }