Skip to content

Commit a113810

Browse files
committed
remove sdk processing metadata
1 parent 929289c commit a113810

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/replay/src/util/sendReplayRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ export async function sendReplayRequest({
9393
}
9494
*/
9595

96+
// Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to
97+
// sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may
98+
// have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid
99+
// of this `delete`, lest we miss putting it back in the next time the property is in use.)
100+
delete replayEvent.sdkProcessingMetadata;
101+
96102
const envelope = createReplayEnvelope(replayEvent, preparedRecordingData, dsn, client.getOptions().tunnel);
97103

98104
let response: void | TransportMakeRequestResponse;

0 commit comments

Comments
 (0)