trace context

pull/1008/head
Darien Raymond 2018-04-01 09:57:26 +02:00
parent 50c4e3389c
commit 90f2480037
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

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()