Skip to content

Commit 951065e

Browse files
committed
add request to scope metadata in _error helper
1 parent 65a1ff3 commit 951065e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/nextjs/src/utils/_error.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export async function captureUnderscoreErrorException(contextOrProps: ContextOrP
5656

5757
if (req) {
5858
scope.addEventProcessor(event => addRequestDataToEvent(event, req));
59+
scope.setSDKProcessingMetadata({ request: req });
5960
}
6061

6162
// If third-party libraries (or users themselves) throw something falsy, we want to capture it as a message (which

0 commit comments

Comments
 (0)