Show account if error in SystemMailer

This commit is contained in:
Xenomporio 2022-06-28 17:00:40 +02:00
parent d175dbc85e
commit be14c7b8df

View File

@ -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) {