Skip to content

Commit

Permalink
return error on root mutation failure (#12374)
Browse files Browse the repository at this point in the history
  • Loading branch information
esizer authored Dec 27, 2024
1 parent 4606a99 commit b1b6fad
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit b1b6fad

Please sign in to comment.