MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / stripMetadataFromStackFrames

Function stripMetadataFromStackFrames

packages/core/src/metadata.ts:105–111  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

103 * Strips metadata from stack frames.
104 */
105export function stripMetadataFromStackFrames(event: Event): void {
106 event.exception?.values?.forEach(exception => {
107 exception.stacktrace?.frames?.forEach(frame => {
108 delete frame.module_metadata;
109 });
110 });
111}

Callers 3

metadata.test.tsFile · 0.90
setupFunction · 0.90
setupFunction · 0.90

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected