From: River Tarnell Date: Wed, 22 Jun 2005 10:32:39 +0000 (+0000) Subject: include error in debug output X-Git-Tag: 1.5.0beta1~90 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=de26c7d4ee5cf78accdff24e43717c33df9feaa8;p=lhc%2Fweb%2Fwiklou.git include error in debug output --- diff --git a/includes/Database.php b/includes/Database.php index 8d110ae76c..738fe51e0c 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -227,7 +227,7 @@ class Database { } else { wfDebug( "DB connection error\n" ); wfDebug( "Server: $server, User: $user, Password: " . - substr( $password, 0, 3 ) . "...\n" ); + substr( $password, 0, 3 ) . "..., error: " . mysql_error() . "\n" ); $success = false; } } else {