From 1c3086f3ac2b8499b51280e0c75457dcc54c1a9b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 21 May 2015 18:53:35 +0200 Subject: tests: Die early on db errors Signed-off-by: Florian Pritz --- application/errors/error_general.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/errors/error_general.php') 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 ?> -- cgit v1.2.3-24-g4f1b