Skip to content

Commit e575427

Browse files
committed
remove accidental code
1 parent 561085c commit e575427

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

packages/core/src/types-hoist/options.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -518,22 +518,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
518518
*/
519519
stackParser?: StackParser | StackLineParser[];
520520
}
521-
522-
function myBeforeSendLog(log: Log) {
523-
log.attributes = {
524-
...log.attributes,
525-
myAttribute: 'myAttributeValue',
526-
};
527-
528-
if (log.attributes?.['myAttribute'] === 'something') {
529-
log.attributes['myAttribute'] = 'something else';
530-
}
531-
532-
log.attributes['otherAttribute'] = log.attributes['myAttribute'];
533-
534-
delete log.attributes['myAttribute'];
535-
536-
log.attributes['myAttribute'];
537-
538-
return log;
539-
}

0 commit comments

Comments
 (0)