summaryrefslogtreecommitdiffstats
path: root/system/page/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-11 05:37:03 +0200
committerThomas Lange <code@nerdmind.de>2017-04-11 05:37:03 +0200
commitdd0433cf81fe5329b694a148191f09e427d4a56c (patch)
tree0bd9e44cbf17120027b33c4dd1ae6394c89c902a /system/page/main.php
parent7a1b8f471ca133b6ca99cd4e440e6614a7c18537 (diff)
downloadblog-dd0433cf81fe5329b694a148191f09e427d4a56c.tar.gz
blog-dd0433cf81fe5329b694a148191f09e427d4a56c.tar.xz
blog-dd0433cf81fe5329b694a148191f09e427d4a56c.zip
Class "ExceptionHandler" has been removed and several files has been changed.
Diffstat (limited to 'system/page/main.php')
-rw-r--r--system/page/main.php4
1 files changed, 2 insertions, 2 deletions
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