Skip to content
Snippets Groups Projects
Unverified Commit 555cd859 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Append exception message to the log

parent 89dc7a3c
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ class Cron
try {
$mail->send();
} catch (\PHPMailer\PHPMailer\Exception $e) {
Logger::warning("Unable to send cron report");
Logger::warning("Unable to send cron report; " . $e->getMessage());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment