Page MenuHomePhabricator

[WMDE-Fundraising] Create logging mailer decorators
Closed, ResolvedPublic3 Estimated Story Points

Description

At the moment, exceptions when sending mails bubble up the catch-all exception handler. Instead, they should be caught, logged and re-thrown as appropriate exceptions, similar to the behavior of the repositories. At the moment, we could just wrap TemplateBasedMailer.

This tasks includes writing the wrappers and using them wherever the mailer is used.