From 3208181dc05fa0633e6cde53fec641f1db4b35ef Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 8 Mar 2001 07:59:15 +0000 Subject: Bug 66149 - nicer wording for the most common Bugzilla error message. --- globals.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'globals.pl') 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; } } -- cgit v1.2.3-24-g4f1b