Skip to content

Commit

Permalink
Fix debug skip
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 25, 2018
1 parent 3188708 commit 4ed0014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Error/WhoopsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ protected function _displayError($error, $debug) {
protected function _displayException($exception) {
if (!Configure::read('debug')) {
parent::_displayException($exception);
return;
}

$whoops = $this->getWhoopsInstance();
Expand Down

0 comments on commit 4ed0014

Please sign in to comment.