Skip to content

Commit 7a76006

Browse files
xnanodaxniieani
authored andcommitted
fix: remove changes to active trace
1 parent 11a1c93 commit 7a76006

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/v3/ActiveTrace.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* eslint-disable max-classes-per-file */
33
import { doesEntryMatchDefinition } from './doesEntryMatchDefinition'
44
import { ensureTimestamp } from './ensureTimestamp'
5-
import { processPerformanceEntry } from './processPerformanceEntry'
65
import type {
76
ActiveTraceConfig,
87
CompleteTraceDefinition,
@@ -317,13 +316,7 @@ export class ActiveTrace<ScopeT extends ScopeBase> {
317316
this.stateMachine.emit('onInterrupt', reason)
318317
}
319318

320-
processEntry(entry: TraceEntry<ScopeT> | PerformanceEntry): TraceEntryAnnotationRecord | undefined {
321-
return entry instanceof PerformanceEntry
322-
? this.processTraceEntry(processPerformanceEntry(entry))
323-
: this.processTraceEntry(entry)
324-
}
325-
326-
private processTraceEntry(
319+
processEntry(
327320
entry: TraceEntry<ScopeT>,
328321
): TraceEntryAnnotationRecord | undefined {
329322
// check if valid for this trace:

0 commit comments

Comments
 (0)