From b1b6fad982040ca9df5e71c2d6df7cabe0ba2988 Mon Sep 17 00:00:00 2001 From: Eric Sizer Date: Fri, 27 Dec 2024 16:19:49 -0500 Subject: [PATCH] return error on root mutation failure (#12374) --- .../GettingStartedPage/GettingStartedPage.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/src/pages/Auth/RegistrationPages/GettingStartedPage/GettingStartedPage.tsx b/apps/web/src/pages/Auth/RegistrationPages/GettingStartedPage/GettingStartedPage.tsx index 5ae0041ba40..fd059e8ec74 100644 --- a/apps/web/src/pages/Auth/RegistrationPages/GettingStartedPage/GettingStartedPage.tsx +++ b/apps/web/src/pages/Auth/RegistrationPages/GettingStartedPage/GettingStartedPage.tsx @@ -410,7 +410,11 @@ const GettingStarted = () => { new Error(notificationResult.error?.toString()), ); }); + } else { + return Promise.reject(new Error(generalResult.error?.toString())); } + + return null; }); const onSubmit = async (