exception handler should handle throwables instead of exceptions

main
msquare 7 years ago
parent a0af8d4624
commit 440ed74cd7

@ -2,7 +2,7 @@
namespace Engelsystem\Exceptions; namespace Engelsystem\Exceptions;
use Exception; use Throwable;
class Handler class Handler
{ {
@ -38,9 +38,9 @@ class Handler
} }
/** /**
* @param Exception $e * @param Throwable $e
*/ */
public function exceptionHandler(Exception $e) public function exceptionHandler(Throwable $e)
{ {
$this->handle( $this->handle(
'exception', 'exception',

Loading…
Cancel
Save