From 0f532b139c2bc5cd89ca2dbff0867825a9363250 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Mon, 26 May 2025 19:30:16 +0200 Subject: [PATCH] feat(mailer): Log error message when sending selfservice forgotten mail fails --- src/mailer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailer.ts b/src/mailer.ts index 6821a44..9d59c80 100644 --- a/src/mailer.ts +++ b/src/mailer.ts @@ -111,7 +111,7 @@ export class Mailer { }); } catch (error) { if (Mailer.testing) { return true; } - console.error("Error while sending selfservice forgotten mail:", error); + console.error("Error while sending selfservice forgotten mail:", error.message); throw new MailSendingError(); } }