Index: trunk/extensions/Farmer/MediaWikiFarmer.php |
— | — | @@ -363,7 +363,7 @@ |
364 | 364 | try { |
365 | 365 | $db = wfGetDB( $type, array(), $this->_databaseName ); |
366 | 366 | } catch ( DBConnectionError $e ) { |
367 | | - throw new MWException( __METHOD__ . ": impossible to connect to {$this->_databaseName} to get farm configuration." ); |
| 367 | + throw new MWException( __METHOD__ . ": impossible to connect to {$this->_databaseName} to get farm configuration: " . $e->getMessage() ); |
368 | 368 | } |
369 | 369 | return $db; |
370 | 370 | } |