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) { } catch (Exception $e) {
$account = null; $account = null;
$this->logger->error($e->getMessage(), ['exception' => $e]); $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) { if ($account === null) {