diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-20 01:29:04 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-09-20 01:29:04 +0200 |
commit | 31414905d710ed53796d67759dec24baf2eeefc7 (patch) | |
tree | 283d2d1b2b2f8ba8214371e36c3b43ca163a59c2 | |
parent | 5b12eecdd63dd6fc64e988cd2ff6b5fb89d10429 (diff) |
Fixed exceptionHandler to catch PdoExceptions, formatting
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | public/.htaccess | 1 | ||||
-rw-r--r-- | src/Exceptions/Handler.php | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -21,6 +21,7 @@ _vimrc_local.vim # Project files /config/config.php /test/coverage +/public/coverage # Composer files /vendor/ diff --git a/public/.htaccess b/public/.htaccess index c9d40187..2b1d3a7a 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,3 +1,4 @@ + <IfModule mod_rewrite.c> RewriteEngine on diff --git a/src/Exceptions/Handler.php b/src/Exceptions/Handler.php index c4fb639c..95bcd132 100644 --- a/src/Exceptions/Handler.php +++ b/src/Exceptions/Handler.php @@ -42,7 +42,7 @@ class Handler /** * @param Throwable $e */ - public function exceptionHandler(Throwable $e) + public function exceptionHandler($e) { $this->handle( 'exception', |