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(); } }