Fixed exceptionHandler to catch PdoExceptions, formatting
This commit is contained in:
parent
5b12eecdd6
commit
31414905d7
|
@ -21,6 +21,7 @@ _vimrc_local.vim
|
|||
# Project files
|
||||
/config/config.php
|
||||
/test/coverage
|
||||
/public/coverage
|
||||
|
||||
# Composer files
|
||||
/vendor/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class Handler
|
|||
/**
|
||||
* @param Throwable $e
|
||||
*/
|
||||
public function exceptionHandler(Throwable $e)
|
||||
public function exceptionHandler($e)
|
||||
{
|
||||
$this->handle(
|
||||
'exception',
|
||||
|
|
Loading…
Reference in New Issue