From 2c9c42143b41a9ee316bb2d2be26aae1c426a6b2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 29 Mar 2017 15:49:47 +0200 Subject: Item exceptions now inherit "ExceptionHandler" to benefit from the "defaultHandler" method. --- system/page/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/page/main.php') diff --git a/system/page/main.php b/system/page/main.php index 88652fd..28de93a 100644 --- a/system/page/main.php +++ b/system/page/main.php @@ -86,5 +86,5 @@ catch(Page\Exception $Exception) { # CATCH: User\Exception #=============================================================================== catch(User\Exception $Exception) { - exit($Exception->getMessage()); + $Exception->defaultHandler(); } \ No newline at end of file -- cgit v1.2.3