mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 21:34:35 -04:00
fix: missing return in the tracing middleware if we want to skip it
This commit is contained in:
1 parent
99e61f93a1
commit
8a02b926a5
1 file changed
+1
@@ -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