We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e087f7 commit 93e0bfbCopy full SHA for 93e0bfb
packages/javascript/src/catcher.ts
@@ -438,8 +438,8 @@ export default class Catcher {
438
* Filter sensitive data
439
*/
440
if (typeof this.beforeSend === 'function') {
441
- const eventClone = structuredClone(payload);
442
- const result = this.beforeSend(eventClone);
+ const eventPayloadClone = structuredClone(payload);
+ const result = this.beforeSend(eventPayloadClone);
443
444
/**
445
* false → drop event
0 commit comments