include error in debug output
This commit is contained in:
parent
e93f65b672
commit
de26c7d4ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue