bug
This commit is contained in:
parent
fd10ad3fb2
commit
bc0f76e6dc
@ -173,7 +173,8 @@ class mailer {
|
||||
$tos = str::join(",", $tos);
|
||||
msg::debug("Sending to $tos");
|
||||
if (!$mailer->send()) {
|
||||
throw new MailerException("erreur d'envoi du mail", $mailer->ErrorInfo);
|
||||
throw (new MailerException("erreur d'envoi du mail"))
|
||||
->setTechMessage($mailer->ErrorInfo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user