Skip to content

Commit 3d4942b

Browse files
committed
profiling: expect error in preprocessevent
1 parent 7bc561f commit 3d4942b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/profiling-node/src/integration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ function setupAutomatedSpanProfiling(client: NodeClient): void {
140140

141141
profilesToAddToEnvelope.push(profile);
142142

143+
// @ts-expect-error profile does not inherit from Event
143144
client.emit('preprocessEvent', profile, {
144145
event_id: profiledTransaction.event_id,
145146
});

0 commit comments

Comments
 (0)