Index: trunk/phase3/includes/filerepo/backend/SwiftFileBackend.php |
— | — | @@ -807,7 +807,11 @@ |
808 | 808 | */ |
809 | 809 | protected function logException( Exception $e, $func, array $params ) { |
810 | 810 | wfDebugLog( 'SwiftBackend', |
811 | | - get_class( $e ) . " in '{$this->name}': '{$func}' with " . serialize( $params ) |
| 811 | + get_class( $e ) . " in '{$func}' (given '" . serialize( $params ) . "')" . |
| 812 | + ( $e instanceof InvalidResponseException |
| 813 | + ? ": {$e->getMessage()}" |
| 814 | + : "" |
| 815 | + ) |
812 | 816 | ); |
813 | 817 | } |
814 | 818 | } |