Skip to content

Commit 6ecf8c9

Browse files
committed
Added reference to logged defect
ciscoheat/sveltekit-superforms#536
1 parent 3486740 commit 6ecf8c9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Exceptionless.Web/ClientApp/src/routes/(app)/account/manage/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
} catch (error: unknown) {
5555
if (error instanceof ProblemDetails) {
5656
applyServerSideErrors(form, error);
57+
// https://github.com/ciscoheat/sveltekit-superforms/issues/536
5758
updateEmailAddressFormMessage.set(form.message);
5859
result.status = error.status ?? 500;
5960
toastId = toast.error(form.message ?? 'Error saving email address. Please try again.');
@@ -82,6 +83,7 @@
8283
} catch (error: unknown) {
8384
if (error instanceof ProblemDetails) {
8485
applyServerSideErrors(form, error);
86+
// https://github.com/ciscoheat/sveltekit-superforms/issues/536
8587
updateUserFormMessage.set(form.message);
8688
result.status = error.status ?? 500;
8789
toastId = toast.error(form.message ?? 'Error saving full name. Please try again.');

src/Exceptionless.Web/ClientApp/src/routes/(auth)/login/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
await goto(redirectUrl);
4848
} else {
4949
applyServerSideErrors(form, response.problem);
50+
// https://github.com/ciscoheat/sveltekit-superforms/issues/536
5051
message.set(form.message);
5152
result.status = response.problem.status ?? 500;
5253
}

0 commit comments

Comments
 (0)