feat(mailer): Log error when sending selfservice forgotten mail fails
This commit is contained in:
parent
bf1f6411e0
commit
401ca923a6
@ -96,6 +96,7 @@ export class Mailer {
|
|||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (Mailer.testing) { return true; }
|
if (Mailer.testing) { return true; }
|
||||||
|
console.error("Error while sending selfservice forgotten mail:", error);
|
||||||
throw new MailSendingError();
|
throw new MailSendingError();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user