We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_error
1 parent a1ffb64 commit f74a5e0Copy full SHA for f74a5e0
packages/nextjs/src/utils/_error.ts
@@ -1,6 +1,6 @@
1
import { captureException, withScope } from '@sentry/core';
2
import { getCurrentHub } from '@sentry/hub';
3
-import { addExceptionMechanism, addRequestDataToEvent } from '@sentry/utils';
+import { addExceptionMechanism } from '@sentry/utils';
4
import { NextPageContext } from 'next';
5
6
type ContextOrProps = {
@@ -55,7 +55,6 @@ export async function captureUnderscoreErrorException(contextOrProps: ContextOrP
55
});
56
57
if (req) {
58
- scope.addEventProcessor(event => addRequestDataToEvent(event, req));
59
scope.setSDKProcessingMetadata({ request: req });
60
}
61
0 commit comments