diff options
author | gerv%gerv.net <> | 2001-03-08 08:59:15 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2001-03-08 08:59:15 +0100 |
commit | 3208181dc05fa0633e6cde53fec641f1db4b35ef (patch) | |
tree | 6e15ae16cc9be0dc5df883ad3876e730d1a16947 | |
parent | 0f610cfd49318a55369799f2b978c4a78632206f (diff) | |
download | bugzilla-3208181dc05fa0633e6cde53fec641f1db4b35ef.tar.gz bugzilla-3208181dc05fa0633e6cde53fec641f1db4b35ef.tar.xz |
Bug 66149 - nicer wording for the most common Bugzilla error message.
-rw-r--r-- | globals.pl | 4 |
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; } } |