include detailed error

pull/587/head
Darien Raymond 2017-09-29 18:10:17 +02:00
parent d1d73d6dbb
commit b862365832
1 changed files with 1 additions and 1 deletions

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
}