Skip to content

Commit 86d7082

Browse files
author
Luca Forstner
committed
.
1 parent bd60b74 commit 86d7082

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/nextjs/src/common/wrapRouteHandlerWithSentry.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ export function wrapRouteHandlerWithSentry<F extends (...args: any[]) => any>(
6363
completeHeadersDict['baggage'],
6464
);
6565
scope.setPropagationContext(incomingPropagationContext);
66+
scope.setSDKProcessingMetadata({
67+
request: {
68+
method,
69+
headers: completeHeadersDict,
70+
},
71+
});
6672
}
6773

6874
const response: Response = await handleCallbackErrors(

0 commit comments

Comments
 (0)