Skip to content

Commit 6c6f355

Browse files
committed
feat(nextjs): Add method and url to route handler request data
1 parent ff8e780 commit 6c6f355

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/nextjs/src/common/wrapRouteHandlerWithSentry.ts

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export function wrapRouteHandlerWithSentry<F extends (...args: any[]) => any>(
4040

4141
isolationScope.setSDKProcessingMetadata({
4242
request: {
43+
url: parameterizedRoute,
44+
method,
4345
headers: completeHeadersDict,
4446
},
4547
});

0 commit comments

Comments
 (0)