]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 66149 - nicer wording for the most common Bugzilla error message.
authorgerv%gerv.net <>
Thu, 8 Mar 2001 07:59:15 +0000 (07:59 +0000)
committergerv%gerv.net <>
Thu, 8 Mar 2001 07:59:15 +0000 (07:59 +0000)
globals.pl

index 13f1994be63209bd08b57d31918b0c7da75124be..4ba85ed90b739f6de8a1ef3a70798ce1b0ef0376 100644 (file)
@@ -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;
     }
 }