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.
applyDebugMetadata
1 parent 943df92 commit 4ff4066Copy full SHA for 4ff4066
packages/core/src/utils/prepareEvent.ts
@@ -37,7 +37,11 @@ export function prepareEvent(
37
38
applyClientOptions(prepared, options);
39
applyIntegrationsMetadata(prepared, integrations);
40
- applyDebugMetadata(prepared, options.stackParser);
+
41
+ // Only apply debug metadata to error events.
42
+ if (event.type === undefined) {
43
+ applyDebugMetadata(prepared, options.stackParser);
44
+ }
45
46
// If we have scope given to us, use it as the base for further modifications.
47
// This allows us to prevent unnecessary copying of data if `captureContext` is not provided.
0 commit comments