summaryrefslogtreecommitdiffstats
path: root/system/post/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-29 15:49:47 +0200
committerThomas Lange <code@nerdmind.de>2017-03-29 15:49:47 +0200
commit2c9c42143b41a9ee316bb2d2be26aae1c426a6b2 (patch)
tree215a46ea7e1071b0cc6b5daf42de3679817bf78c /system/post/main.php
parent008617f01c42dfbd6241be3bebcde90815c8a323 (diff)
downloadblog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.tar.gz
blog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.tar.xz
blog-2c9c42143b41a9ee316bb2d2be26aae1c426a6b2.zip
Item exceptions now inherit "ExceptionHandler" to benefit from the "defaultHandler" method.
Diffstat (limited to 'system/post/main.php')
-rw-r--r--system/post/main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/post/main.php b/system/post/main.php
index 8411d9a..1797d67 100644
--- a/system/post/main.php
+++ b/system/post/main.php
@@ -86,5 +86,5 @@ catch(Post\Exception $Exception) {
# CATCH: User\Exception
#===============================================================================
catch(User\Exception $Exception) {
- exit($Exception->getMessage());
+ $Exception->defaultHandler();
} \ No newline at end of file