Commit 5887d015 authored by Patrick Müller's avatar Patrick Müller

refactor: mail queue -> log exception stack on send mail error

parent ac7af93b
......@@ -339,6 +339,8 @@ class Queue
return true;
} catch (\Exception $Exception) {
QUI\System\Log::writeException($Exception);
throw new QUI\Exception(
'Mail Error: ' . $Exception->getMessage(),
500
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment