File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/Exceptionless.Web/ClientApp/src/routes Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 54
54
} catch (error : unknown ) {
55
55
if (error instanceof ProblemDetails ) {
56
56
applyServerSideErrors (form , error );
57
+ // https://github.com/ciscoheat/sveltekit-superforms/issues/536
57
58
updateEmailAddressFormMessage .set (form .message );
58
59
result .status = error .status ?? 500 ;
59
60
toastId = toast .error (form .message ?? ' Error saving email address. Please try again.' );
82
83
} catch (error : unknown ) {
83
84
if (error instanceof ProblemDetails ) {
84
85
applyServerSideErrors (form , error );
86
+ // https://github.com/ciscoheat/sveltekit-superforms/issues/536
85
87
updateUserFormMessage .set (form .message );
86
88
result .status = error .status ?? 500 ;
87
89
toastId = toast .error (form .message ?? ' Error saving full name. Please try again.' );
Original file line number Diff line number Diff line change 47
47
await goto (redirectUrl );
48
48
} else {
49
49
applyServerSideErrors (form , response .problem );
50
+ // https://github.com/ciscoheat/sveltekit-superforms/issues/536
50
51
message .set (form .message );
51
52
result .status = response .problem .status ?? 500 ;
52
53
}
You can’t perform that action at this time.
0 commit comments