Skip to content
Permalink
Browse files

CakeShells should not print html in case of a error

  • Loading branch information...
Humberto Pereira authored and markstory committed Jun 13, 2015
1 parent 3495ea1 commit 26630991a6eb07a2a947e036c359f97519ec654e
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Console/ShellDispatcher.php
@@ -177,6 +177,9 @@ public function setErrorHandlers() {
}
set_exception_handler($exception['consoleHandler']);
set_error_handler($error['consoleHandler'], Configure::read('Error.level'));
App::uses('Debugger', 'Utility');
Debugger::getInstance()->output('txt');
}
/**

0 comments on commit 2663099

Please sign in to comment.
You can’t perform that action at this time.