Commit 38d9b941 authored by Francois Marier's avatar Francois Marier Committed by Gerrit Code Review
Browse files

Merge "Output exception messages as text in cli scripts (bug #844604)"

parents 72d38ee2 174e6b46
......@@ -558,7 +558,7 @@ class MaharaException extends Exception {
exit; // let it be caught by phpunit
}
if (defined('CRON')) {
if (defined('CRON') || defined('CLI')) {
echo $this->render_exception();
exit;
}
......
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