trace context

This commit is contained in:
Darien Raymond committed 2018-04-01 09:57:26 +02:00
1 parent 50c4e3389c
commit 90f2480037
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ func (v *Client) Process(ctx context.Context, outboundRay ray.OutboundRay, diale
if err != nil {
return newError("failed to find an available destination").AtWarning().Base(err)
}
newError("tunneling request to ", destination, " via ", server.Destination()).WriteToLog()
newError("tunneling request to ", destination, " via ", server.Destination()).WithContext(ctx).WriteToLog()
defer conn.Close()