Skip to content

Commit e10fcf3

Browse files
committed
fix: improve http.client double-wrap message (#20705)
Add a link to the docs.
1 parent 7e49571 commit e10fcf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/integrations/http/double-wrap-warning.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const isOtelWrapped = (fn: Function & { __unwrap?: Function }): fn is Function &
77

88
// exported for tess
99
export const warning =
10-
'Double-wrapped http.client detected. Either disable spans in Sentry.httpIntegration, or disable the OpenTelemetry HTTP instrumentation.';
10+
'Double-wrapped http.client detected. Either disable spans in Sentry.httpIntegration, or disable the OpenTelemetry HTTP instrumentation. See: https://docs.sentry.io/platforms/javascript/guides/express/opentelemetry/custom-setup/#custom-http-instrumentation';
1111

1212
let didDoubleWrapWarning = false;
1313
// no-op in non-debug builds

0 commit comments

Comments
 (0)