Skip to content

Commit e4139ea

Browse files
committed
fix biome error
1 parent 2b7400a commit e4139ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/spotlight/src/ui/telemetry/store/utils/traceProcessor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export function processTransactionEvent(
2626
const { existingTrace, profilesByTraceId } = context;
2727

2828
// Add guard to ensure trace_id exists
29-
throw new Error("Transaction event missing required trace_id");
29+
if (!traceCtx.trace_id) {
30+
throw new Error('Transaction event missing required trace_id');
3031
}
3132

3233
// Initialize or get existing trace

0 commit comments

Comments
 (0)