diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/page/main.php | 2 | ||||
-rw-r--r-- | system/post/main.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/page/main.php b/system/page/main.php index 88652fd..28de93a 100644 --- a/system/page/main.php +++ b/system/page/main.php @@ -86,5 +86,5 @@ catch(Page\Exception $Exception) { # CATCH: User\Exception #=============================================================================== catch(User\Exception $Exception) { - exit($Exception->getMessage()); + $Exception->defaultHandler(); }
\ No newline at end of file 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 |