r112839: missing file change
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 1 Mar 2012 22:01:57 +0000 (22:01 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 1 Mar 2012 22:01:57 +0000 (22:01 +0000)
includes/filerepo/backend/SwiftFileBackend.php

index 734a06a..86ab1be 100644 (file)
@@ -807,7 +807,7 @@ class SwiftFileBackend extends FileBackendStore {
         */
        protected function logException( Exception $e, $func, array $params ) {
                wfDebugLog( 'SwiftBackend',
-                       get_class( $e ) . " in '{$func}' (given '" . serialize( $params ) . "')" .
+                       get_class( $e ) . " in '{$func}' (given '" . FormatJson::encode( $params ) . "')" .
                        ( $e instanceof InvalidResponseException
                                ? ": {$e->getMessage()}"
                                : ""