We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f48804 commit ebf2ecaCopy full SHA for ebf2eca
packages/remix/src/server/instrumentServer.ts
@@ -432,13 +432,7 @@ function wrapRequestHandler<T extends ServerBuild | (() => ServerBuild | Promise
432
return res;
433
};
434
435
- // Only continue trace if there's an incoming sentry-trace header.
436
- // Otherwise, start a fresh trace in the isolation scope.
437
- if (sentryTrace) {
438
- return continueTrace({ sentryTrace, baggage: baggage || '' }, handleRequest);
439
- }
440
-
441
- return handleRequest();
+ return continueTrace({ sentryTrace: sentryTrace || '', baggage: baggage || '' }, handleRequest);
442
});
443
444
}
0 commit comments