diff options
Diffstat (limited to 'core/application.php')
-rw-r--r-- | core/application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/application.php b/core/application.php index c1717a6..0a53350 100644 --- a/core/application.php +++ b/core/application.php @@ -23,7 +23,7 @@ spl_autoload_register(function($classname) { #=============================================================================== # Exception handler for non-caught exceptions #=============================================================================== -set_exception_handler(function(Exception $Exception) { +set_exception_handler(function(Throwable $Exception) { Application::exit($Exception->getMessage()); }); |