The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
fix: using the last occurrence if one exists
dduxb228d6e15200
diff --git a/frontend/src/routes/issues/[exceptionHash]/+page.svelte b/frontend/src/routes/issues/[exceptionHash]/+page.svelteindex 64b290ca..0e01644e 100644--- a/frontend/src/routes/issues/[exceptionHash]/+page.svelte+++ b/frontend/src/routes/issues/[exceptionHash]/+page.svelte@@ -34,7 +34,7 @@const latestOccurrence = $derived(occurrences[0]);const isMessage = $derived(latestOccurrence?.isMessage ?? false);const hasMoreOccurrences = $derived(total > 10);- const firstLineOfStackTrace = $derived(group?.stackTrace.split('\n')[0] || 'Exception');+ const firstLineOfStackTrace = $derived(latestOccurrence?.stackTrace.split('\n')[0] || 'Exception');async function loadData() {loading = true;@@ -157,7 +157,7 @@/>{:else if group}<StackTraceCard- stackTrace={group.stackTrace}+ stackTrace={latestOccurrence?.stackTrace ?? group.stackTrace}{isMessage}firstSeen={group.firstSeen}lastSeen={group.lastSeen}diff --git a/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte b/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelteindex 737ff5f9..3f327d49 100644--- a/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte+++ b/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte@@ -6,7 +6,7 @@import { getTimezone } from '$lib/state/timezone.svelte';import { formatDateTime } from '$lib/utils/formatters';import { StackTraceCard, EventCard, EventsTable, PageHeader } from '$lib/components/issues';- import type { ExceptionGroup, ExceptionOccurrence, LinkedTrace } from '$lib/types/exceptions';+ import type { ExceptionOccurrence, LinkedTrace } from '$lib/types/exceptions';import { createSmartBackHandler } from '$lib/utils/back-navigation';import { resolve } from '$app/paths';import ArchiveConfirmationDialog from '$lib/components/archive-confirmation-dialog.svelte';@@ -17,7 +17,6 @@const timezone = $derived(getTimezone());- let group = $state<ExceptionGroup | null>(null);let occurrence = $state<ExceptionOccurrence | null>(null);let allOccurrences = $state<ExceptionOccurrence[]>([]);let loading = $state(true);@@ -61,7 +60,6 @@}}, { projectId: projectsState.currentProjectId ?? undefined });- group = response.group;allOccurrences = response.occurrences || [];total = response.pagination.total;@@ -143,7 +141,7 @@onBack={createSmartBackHandler({ fallbackPath: resolve("/issues/[exceptionHash]", {exceptionHash: data.exceptionHash}) })}/>- {#if loading && !group}+ {#if loading && !occurrence}<div class="flex items-center justify-center py-20"><LoadingCircle size="xlg" /></div>@@ -165,7 +163,7 @@backLabel="Back to Exception"onRetry={() => loadData()}/>- {:else if group && occurrence}+ {:else if occurrence}<StackTraceCardstackTrace={occurrence.stackTrace}{isMessage}