Skip to content

Commit f459e74

Browse files
committed
fix(web): client error when test sending is rate limited
1 parent 0f0c98a commit f459e74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/web/src/components/send.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ export const Send = ({
4141
} else {
4242
if (response.status === 429) {
4343
const { error } = (await response.json()) as { error: string };
44-
toast.error(error);
44+
console.error(error);
45+
toast.error(
46+
'Too many test emails were sent, try again in a few seconds.',
47+
);
4548
} else {
4649
toast.error('Something went wrong. Please try again.');
4750
}

0 commit comments

Comments
 (0)