Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove accidental code
  • Loading branch information
Lms24 committed Dec 18, 2025
commit 5a0e0412a3dbccf7cc66a5310b8bba513344f330
19 changes: 0 additions & 19 deletions packages/core/src/types-hoist/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,22 +540,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
*/
stackParser?: StackParser | StackLineParser[];
}

function myBeforeSendLog(log: Log) {
log.attributes = {
...log.attributes,
myAttribute: 'myAttributeValue',
};

if (log.attributes?.['myAttribute'] === 'something') {
log.attributes['myAttribute'] = 'something else';
}

log.attributes['otherAttribute'] = log.attributes['myAttribute'];

delete log.attributes['myAttribute'];

log.attributes['myAttribute'];

return log;
}