diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-05-21 18:53:35 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-21 18:53:35 +0200 |
commit | 1c3086f3ac2b8499b51280e0c75457dcc54c1a9b (patch) | |
tree | 29e00bcf7180ad122bf7451f1b4dd4b09af575dd /application/errors | |
parent | 7fccbf5fd1919a9c8ae14d2f39a55de8eee64de5 (diff) |
tests: Die early on db errors
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/errors')
-rw-r--r-- | application/errors/error_general.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/errors/error_general.php b/application/errors/error_general.php index 925c7751f..bc1a61973 100644 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -38,6 +38,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) { foreach (explode("\n", $msg) as $line) { echo "# $line\n"; } + exit(255); } else { // default CI error page ?> |