mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-08 21:30:07 -06:00
fix: missing return in the tracing middleware if we want to skip it
This commit is contained in:
@@ -21,6 +21,7 @@ func CollaborationTracingMiddleware(next http.Handler) http.Handler {
|
||||
if err != nil {
|
||||
// if we can't get the context, skip this middleware
|
||||
next.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
|
||||
span := trace.SpanFromContext(r.Context())
|
||||
|
||||
Reference in New Issue
Block a user