From 2c9c42143b41a9ee316bb2d2be26aae1c426a6b2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 29 Mar 2017 15:49:47 +0200 Subject: Item exceptions now inherit "ExceptionHandler" to benefit from the "defaultHandler" method. --- system/post/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/post') 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 -- cgit v1.2.3