exception handler should handle throwables instead of exceptions

main
msquare 8 years ago
parent a0af8d4624
commit 440ed74cd7

@ -2,7 +2,7 @@
namespace Engelsystem\Exceptions;
use Exception;
use Throwable;
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(
'exception',

Loading…
Cancel
Save