Show account if error in SystemMailer
This commit is contained in:
parent
d175dbc85e
commit
be14c7b8df
|
|
@ -124,7 +124,7 @@ final class SystemMailer
|
|||
} catch (Exception $e) {
|
||||
$account = null;
|
||||
$this->logger->error($e->getMessage(), ['exception' => $e]);
|
||||
$mailerror_text = 'Error while sending email: Account not found.';
|
||||
$mailerror_text = 'Error while sending email: Account not found: '.$senderEmail;
|
||||
}
|
||||
|
||||
if ($account === null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue