Fixed exceptionHandler to catch PdoExceptions, formatting

main
Igor Scheller 7 years ago
parent 5b12eecdd6
commit 31414905d7

1
.gitignore vendored

@ -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/

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

@ -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',

Loading…
Cancel
Save