Skip to content
Permalink
Browse files

Fixed CS error

  • Loading branch information...
lorenzo committed Aug 31, 2014
1 parent dab3f67 commit 078fcfa49d736e0ab6a725edebafbdbd584a579c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Error/BaseErrorHandler.php
@@ -17,8 +17,8 @@
use Cake\Core\Configure;
use Cake\Error\Debugger;
use Cake\Log\Log;
use Cake\Routing\Router;
use Cake\Network\Exception\InternalErrorException;
use Cake\Routing\Router;
/**
* Base error handler that provides logic common to the CLI + web
@@ -184,6 +184,7 @@ public function handleFatalError($code, $description, $file, $line) {
'error' => 'Fatal Error',
];
$this->_logError(LOG_ERR, $data);
$this->handleException(new FatalErrorException($description, 500, $file, $line));
return true;
}

0 comments on commit 078fcfa

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