aboutsummaryrefslogtreecommitdiffstats
path: root/system/page
diff options
context:
space:
mode:
Diffstat (limited to 'system/page')
-rw-r--r--system/page/list.php2
-rw-r--r--system/page/main.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/system/page/list.php b/system/page/list.php
index 0879065..25409e5 100644
--- a/system/page/list.php
+++ b/system/page/list.php
@@ -60,6 +60,6 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
?> \ No newline at end of file
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