summaryrefslogtreecommitdiffstats
path: root/admin/page
diff options
context:
space:
mode:
Diffstat (limited to 'admin/page')
-rw-r--r--admin/page/delete.php2
-rw-r--r--admin/page/index.php2
-rw-r--r--admin/page/insert.php2
-rw-r--r--admin/page/update.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php
index 33d30a5..564273f 100644
--- a/admin/page/delete.php
+++ b/admin/page/delete.php
@@ -58,7 +58,7 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
}
diff --git a/admin/page/index.php b/admin/page/index.php
index 9a9bdfa..9dd5da1 100644
--- a/admin/page/index.php
+++ b/admin/page/index.php
@@ -71,6 +71,6 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
?> \ No newline at end of file
diff --git a/admin/page/insert.php b/admin/page/insert.php
index f8a4cbf..367c154 100644
--- a/admin/page/insert.php
+++ b/admin/page/insert.php
@@ -81,6 +81,6 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
?> \ No newline at end of file
diff --git a/admin/page/update.php b/admin/page/update.php
index 03f05ef..83a1e54 100644
--- a/admin/page/update.php
+++ b/admin/page/update.php
@@ -83,7 +83,7 @@ try {
# CATCH: Template\Exception
#===============================================================================
catch(Template\Exception $Exception) {
- $Exception->defaultHandler();
+ Application::exit($Exception->getMessage());
}
}