Skip to content

The only tool you need to know what is happening and how to fix it.

fix: Non-iterable spans causes error #144

dduxe1b279bf9ba9
diff --git a/frontend/src/routes/endpoints/[endpoint]/[endpointId]/+page.svelte b/frontend/src/routes/endpoints/[endpoint]/[endpointId]/+page.svelte
index ffaf70e2..eaa042d2 100644
--- a/frontend/src/routes/endpoints/[endpoint]/[endpointId]/+page.svelte
+++ b/frontend/src/routes/endpoints/[endpoint]/[endpointId]/+page.svelte
@@ -272,7 +272,7 @@
projectId={projectsState.currentProjectId ?? ''}
traceId={traceIdUuidToHex(response.endpoint.id)}
distributedTraceId={response.endpoint.distributedTraceId ?? null}
- spans={response.spans}
+ spans={response.spans ?? []}
rootSpan={{
id: response.endpoint.spanId ?? response.endpoint.id,
name: response.endpoint.endpoint