Skip to content

Commit 5388d82

Browse files
committed
remove accidental code
1 parent d81eb3b commit 5388d82

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
@@ -526,22 +526,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
526526
*/
527527
stackParser?: StackParser | StackLineParser[];
528528
}
529-
530-
function myBeforeSendLog(log: Log) {
531-
log.attributes = {
532-
...log.attributes,
533-
myAttribute: 'myAttributeValue',
534-
};
535-
536-
if (log.attributes?.['myAttribute'] === 'something') {
537-
log.attributes['myAttribute'] = 'something else';
538-
}
539-
540-
log.attributes['otherAttribute'] = log.attributes['myAttribute'];
541-
542-
delete log.attributes['myAttribute'];
543-
544-
log.attributes['myAttribute'];
545-
546-
return log;
547-
}

0 commit comments

Comments
 (0)