Skip to content

Commit d8294a8

Browse files
committed
fix(Mailer): Log errors
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent da13836 commit d8294a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Mail/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function send(IMessage $message): array {
205205
$mailer->send($message->getSymfonyEmail());
206206
} catch (TransportExceptionInterface $e) {
207207
$logMessage = sprintf('Sending mail to "%s" with subject "%s" failed', print_r($message->getTo(), true), $message->getSubject());
208-
$this->logger->debug($logMessage, ['app' => 'core', 'exception' => $e]);
208+
$this->logger->error($logMessage, ['app' => 'core', 'exception' => $e]);
209209
if ($debugMode) {
210210
$this->logger->debug($e->getDebug(), ['app' => 'core']);
211211
}

0 commit comments

Comments
 (0)