Skip to content

Commit 68c418c

Browse files
committed
Fixed svelte runes issue with getting error data.
1 parent 0d7c3af commit 68c418c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/events/persistent-event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function getErrorData(event: PersistentEvent): ErrorData[] {
2727
return;
2828
}
2929

30-
const additionalData = error.data['@ext'] || {};
30+
const additionalData = { ...error.data['@ext'] };
3131
Object.entries(error.data).forEach(([key, value]) => {
3232
if (!key.startsWith('@')) {
3333
additionalData[key] = value;

0 commit comments

Comments
 (0)