refactor (#920)
This commit is contained in:
@@ -21,7 +21,7 @@ func TracingHandler(next http.Handler) http.Handler {
|
||||
defer span.Finish()
|
||||
r = r.WithContext(ctx)
|
||||
|
||||
// Conveniently track error messages
|
||||
// conveniently tracking error messages
|
||||
w.Header().Set(trace.TraceIdKey, span.TraceId())
|
||||
next.ServeHTTP(w, r)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user