We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051830a commit 753acc4Copy full SHA for 753acc4
1 file changed
src/lib/formatters/trace.ts
@@ -347,7 +347,7 @@ export function findSpanById(
347
depth: number,
348
ancestors: TraceSpan[]
349
): FoundSpan | null {
350
- if (span.span_id.toLowerCase() === spanId) {
+ if (span.span_id?.toLowerCase() === spanId) {
351
return { span, depth, ancestors };
352
}
353
for (const child of span.children ?? []) {
0 commit comments