Skip to content

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

bug: using the global value when opening a specific exception instance

ddux7f37438371cc
diff --git a/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte b/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte
index 554890e6..737ff5f9 100644
--- a/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte
+++ b/frontend/src/routes/issues/[exceptionHash]/[exceptionId]/+page.svelte
@@ -31,7 +31,7 @@
const isMessage = $derived(occurrence?.isMessage ?? false);
- const firstLineOfStackTrace = $derived(group?.stackTrace.split('\n')[0] || 'Exception');
+ const firstLineOfStackTrace = $derived(occurrence?.stackTrace.split('\n')[0] || 'Exception');
const hasMoreOccurrences = $derived(total > 10);
const subtitleText = $derived(occurrence ? `Event from ${formatDateTime(occurrence.recordedAt, { timezone })}` : 'Loading...');
@@ -167,7 +167,7 @@
/>
{:else if group && occurrence}
<StackTraceCard
- stackTrace={group.stackTrace}
+ stackTrace={occurrence.stackTrace}
{isMessage}
bind:showArchiveDialog={showArchiveDialog}
bind:archiving={archiving}