git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 54f40fd6 authored by Mike Sheldon's avatar Mike Sheldon

Don't display adodb exceptions when failing to connect

parent 2a3aea51
......@@ -31,8 +31,7 @@ require_once('adodb/adodb.inc.php');
try {
$adodb =& NewADOConnection($connect_string);
} catch (Exception $e) {
var_dump($e);
adodb_backtrace($e->gettrace());
die("Unable to connect to database");
}
// To keep functionality with existing code
......
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