Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Add processing metadata to scope and event #4252

Merged
merged 9 commits into from
Jan 11, 2022
3 changes: 3 additions & 0 deletions packages/core/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export function eventToSentryRequest(event: Event, api: APIDetails): SentryReque
event.debug_meta = metadata;
iker-barriocanal marked this conversation as resolved.
Show resolved Hide resolved
}

// prevent this data from being sent to sentry
delete event.sdkProcessingMetadata;

const req: SentryRequest = {
body: JSON.stringify(sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event),
type: eventType,
Expand Down