summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--globals.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 13f1994be..4ba85ed90 100644
--- a/globals.pl
+++ b/globals.pl
@@ -91,7 +91,9 @@ sub ConnectToDatabase {
$::dbwritesallowed = 0;
}
$::db = DBI->connect("DBI:mysql:host=$::db_host;database=$name", $::db_user, $::db_pass)
- || die $DBI::errstr;
+ || die "Bugzilla is currently broken. Please try again later. " .
+ "If the problem persists, please contact " . Param("maintainer") .
+ ". The error you should quote is: " . $DBI::errstr;
}
}