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