aboutsummaryrefslogtreecommitdiffstats
path: root/system/post/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/post/main.php')
-rw-r--r--system/post/main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/post/main.php b/system/post/main.php
index 0b69023..46937f3 100644
--- a/system/post/main.php
+++ b/system/post/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(Post\Exception $Exception) {
# CATCH: User\Exception
#===============================================================================
catch(User\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
} \ No newline at end of file