summaryrefslogtreecommitdiffstats
path: root/system/user
diff options
context:
space:
mode:
Diffstat (limited to 'system/user')
-rw-r--r--system/user/list.php2
-rw-r--r--system/user/main.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/user/list.php b/system/user/list.php
index 2e1e4f1..692bba6 100644
--- a/system/user/list.php
+++ b/system/user/list.php
@@ -56,6 +56,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/user/main.php b/system/user/main.php
index 8b7bc79..7944f1f 100644
--- a/system/user/main.php
+++ b/system/user/main.php
@@ -74,7 +74,7 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
}