From: gerv%gerv.net <> Date: Thu, 8 Mar 2001 07:59:15 +0000 (+0000) Subject: Bug 66149 - nicer wording for the most common Bugzilla error message. X-Git-Tag: bugzilla-2.12~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3208181dc05fa0633e6cde53fec641f1db4b35ef;p=thirdparty%2Fbugzilla.git Bug 66149 - nicer wording for the most common Bugzilla error message. --- diff --git a/globals.pl b/globals.pl index 13f1994be6..4ba85ed90b 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; } }