From dd0433cf81fe5329b694a148191f09e427d4a56c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 05:37:03 +0200 Subject: Class "ExceptionHandler" has been removed and several files has been changed. --- system/page/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/page/main.php') diff --git a/system/page/main.php b/system/page/main.php index 22d0ec7..925d5d9 100644 --- a/system/page/main.php +++ b/system/page/main.php @@ -59,7 +59,7 @@ try { # CATCH: Template\Exception #=============================================================================== catch(Template\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } } @@ -86,5 +86,5 @@ catch(Page\Exception $Exception) { # CATCH: User\Exception #=============================================================================== catch(User\Exception $Exception) { - $Exception->defaultHandler(); + Application::exit($Exception->getMessage()); } \ No newline at end of file -- cgit v1.2.3