diff --git a/packages/core/src/integrations/http/double-wrap-warning.ts b/packages/core/src/integrations/http/double-wrap-warning.ts index 27dea32dd9b3..bb0b00c7659c 100644 --- a/packages/core/src/integrations/http/double-wrap-warning.ts +++ b/packages/core/src/integrations/http/double-wrap-warning.ts @@ -7,7 +7,7 @@ const isOtelWrapped = (fn: Function & { __unwrap?: Function }): fn is Function & // exported for tess export const warning = - 'Double-wrapped http.client detected. Either disable spans in Sentry.httpIntegration, or disable the OpenTelemetry HTTP instrumentation.'; + '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'; let didDoubleWrapWarning = false; // no-op in non-debug builds @@ -15,7 +15,6 @@ export const doubleWrapWarning = DEBUG_BUILD ? (http: HttpModuleExport) => { if (!didDoubleWrapWarning) { if (isOtelWrapped(http.request) || isOtelWrapped(http.get)) { - // TODO: add link to documentation didDoubleWrapWarning = true; debug.warn(warning); }