Skip to content

Commit

Permalink
adding error message in sign up action catch
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolovlazar committed Aug 27, 2024
1 parent a73320b commit e1dd507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/(auth)/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export async function signUp(formData: FormData) {
captureException(err);
return {
error:
"An error happened. The developers have been notified. Please try again later.",
"An error happened. The developers have been notified. Please try again later. Message: " +
(err as Error).message,
};
}

Expand Down

0 comments on commit e1dd507

Please sign in to comment.