Skip to content

Commit f5f4453

Browse files
committed
chore: update error messages
1 parent b9928f0 commit f5f4453

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

backend/src/api/controllers/user.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export async function sendVerificationEmail(
212212
if (message === undefined) {
213213
throw new MonkeyError(
214214
500,
215-
"Firebase failed to generate an email verification link. Unknown error occured"
215+
"Failed to generate an email verification link. Unknown error occured"
216216
);
217217
} else {
218218
if (message.toLowerCase().includes("too_many_attempts")) {
@@ -223,8 +223,7 @@ export async function sendVerificationEmail(
223223
} else {
224224
throw new MonkeyError(
225225
500,
226-
"Firebase failed to generate an email verification link: " +
227-
message,
226+
"Failed to generate an email verification link: " + message,
228227
(e as Error).stack
229228
);
230229
}

0 commit comments

Comments
 (0)