Skip to content

Commit 5a0e041

Browse files
committed
remove accidental code
1 parent c92d866 commit 5a0e041

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
@@ -540,22 +540,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
540540
*/
541541
stackParser?: StackParser | StackLineParser[];
542542
}
543-
544-
function myBeforeSendLog(log: Log) {
545-
log.attributes = {
546-
...log.attributes,
547-
myAttribute: 'myAttributeValue',
548-
};
549-
550-
if (log.attributes?.['myAttribute'] === 'something') {
551-
log.attributes['myAttribute'] = 'something else';
552-
}
553-
554-
log.attributes['otherAttribute'] = log.attributes['myAttribute'];
555-
556-
delete log.attributes['myAttribute'];
557-
558-
log.attributes['myAttribute'];
559-
560-
return log;
561-
}

0 commit comments

Comments
 (0)