mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #56097 from nextcloud/backport/56090/stable31
This commit is contained in:
commit
6779ac7dd7
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class Mailer implements IMailer {
|
|||
$mailer->send($message->getSymfonyEmail());
|
||||
} catch (TransportExceptionInterface $e) {
|
||||
$logMessage = sprintf('Sending mail to "%s" with subject "%s" failed', print_r($message->getTo(), true), $message->getSubject());
|
||||
$this->logger->debug($logMessage, ['app' => 'core', 'exception' => $e]);
|
||||
$this->logger->error($logMessage, ['app' => 'core', 'exception' => $e]);
|
||||
if ($debugMode) {
|
||||
$this->logger->debug($e->getDebug(), ['app' => 'core']);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue