feat(mailer): Log error when sending selfservice forgotten mail fails

This commit is contained in:
Nicolai Ort 2025-05-26 19:23:30 +02:00
parent bf1f6411e0
commit 401ca923a6
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -96,6 +96,7 @@ export class Mailer {
});
} catch (error) {
if (Mailer.testing) { return true; }
console.error("Error while sending selfservice forgotten mail:", error);
throw new MailSendingError();
}
}