Skip to content

Commit

Permalink
return error on root mutation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
esizer committed Dec 24, 2024
1 parent 3d12c41 commit 8daf868
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 8daf868

Please sign in to comment.