Fixed exceptionHandler to catch PdoExceptions, formatting

This commit is contained in:
Igor Scheller 2017-09-20 01:29:04 +02:00
parent 5b12eecdd6
commit 31414905d7
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@ _vimrc_local.vim
# Project files # Project files
/config/config.php /config/config.php
/test/coverage /test/coverage
/public/coverage
# Composer files # Composer files
/vendor/ /vendor/

View File

@ -1,3 +1,4 @@
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine on RewriteEngine on

View File

@ -42,7 +42,7 @@ class Handler
/** /**
* @param Throwable $e * @param Throwable $e
*/ */
public function exceptionHandler(Throwable $e) public function exceptionHandler($e)
{ {
$this->handle( $this->handle(
'exception', 'exception',