Skip to content

Commit 32a4071

Browse files
committed
pr feedback
1 parent 6a43375 commit 32a4071

File tree

1 file changed

+1
-4
lines changed
  • platform-includes/distributed-tracing/custom-instrumentation/server

1 file changed

+1
-4
lines changed

platform-includes/distributed-tracing/custom-instrumentation/server/javascript.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ Here's an example of how to extract and store incoming tracing information using
2828
const http = require("http");
2929

3030
http.createServer((request, response) => {
31-
const sentryTraceHeaders = request.headers["sentry-trace"];
32-
const sentryTrace = Array.isArray(sentryTraceHeaders)
33-
? sentryTraceHeaders.join(",")
34-
: sentryTraceHeaders;
31+
const sentryTrace = request.headers["sentry-trace"];
3532
const baggage = request.headers["baggage"];
3633

3734
Sentry.continueTrace({ sentryTrace, baggage }, () => {

0 commit comments

Comments
 (0)