Skip to content

Commit

Permalink
fix: expose error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Jul 14, 2024
1 parent e4e3613 commit 51aa519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/business/services/user/user.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export async function validateUser(prevState: FormState, formData: FormData): Pr
isSuccess: false,
isFailure: true,
validationError: {},
message: '',
message: error.message,
};
} else {
throw error;
Expand Down

0 comments on commit 51aa519

Please sign in to comment.