Skip to content

Commit fbb8722

Browse files
Lms24mydea
andauthored
Apply suggestions from code review
Co-authored-by: Francesco Novy <[email protected]>
1 parent 81e048b commit fbb8722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/utils/applyScopeDataToEvent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ function applyDataToEvent(event: Event, data: ScopeData): void {
142142
event.level = level;
143143
}
144144

145+
// transaction events get their `transaction` from the root span name
145146
if (transactionName && event.type !== 'transaction') {
146147
event.transaction = transactionName;
147148
}

0 commit comments

Comments
 (0)