|
@@ 713-719 (lines=7) @@
|
| 710 |
|
$this->markServerDown( $exception, $serverIndex ); |
| 711 |
|
} |
| 712 |
|
$this->logger->error( "DBError: {$exception->getMessage()}" ); |
| 713 |
|
if ( $exception instanceof DBConnectionError ) { |
| 714 |
|
$this->setLastError( BagOStuff::ERR_UNREACHABLE ); |
| 715 |
|
$this->logger->debug( __METHOD__ . ": ignoring connection error" ); |
| 716 |
|
} else { |
| 717 |
|
$this->setLastError( BagOStuff::ERR_UNEXPECTED ); |
| 718 |
|
$this->logger->debug( __METHOD__ . ": ignoring query error" ); |
| 719 |
|
} |
| 720 |
|
} |
| 721 |
|
|
| 722 |
|
/** |
|
@@ 743-749 (lines=7) @@
|
| 740 |
|
} |
| 741 |
|
|
| 742 |
|
$this->logger->error( "DBError: {$exception->getMessage()}" ); |
| 743 |
|
if ( $exception instanceof DBConnectionError ) { |
| 744 |
|
$this->setLastError( BagOStuff::ERR_UNREACHABLE ); |
| 745 |
|
$this->logger->debug( __METHOD__ . ": ignoring connection error" ); |
| 746 |
|
} else { |
| 747 |
|
$this->setLastError( BagOStuff::ERR_UNEXPECTED ); |
| 748 |
|
$this->logger->debug( __METHOD__ . ": ignoring query error" ); |
| 749 |
|
} |
| 750 |
|
} |
| 751 |
|
|
| 752 |
|
/** |