Commit 3208181d authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 66149 - nicer wording for the most common Bugzilla error message.

parent 0f610cfd
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment