From 401ca923a61bc5988e73209c086bc9a5a4fa04f9 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Mon, 26 May 2025 19:23:30 +0200 Subject: [PATCH] feat(mailer): Log error when sending selfservice forgotten mail fails --- src/mailer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mailer.ts b/src/mailer.ts index 447df70..5fff1d0 100644 --- a/src/mailer.ts +++ b/src/mailer.ts @@ -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(); } }