Index: trunk/phase3/includes/db/LoadBalancer.php |
— | — | @@ -699,7 +699,7 @@ |
700 | 700 | |
701 | 701 | if ( !is_object( $conn ) ) { |
702 | 702 | // No last connection, probably due to all servers being too busy |
703 | | - wfLogDBError( "LB failure with no last connection\n" ); |
| 703 | + wfLogDBError( "LB failure with no last connection. Connection error: {$this->mLastError}\n" ); |
704 | 704 | $conn = new Database; |
705 | 705 | // If all servers were busy, mLastError will contain something sensible |
706 | 706 | throw new DBConnectionError( $conn, $this->mLastError ); |