Log when resyncFiles() fails in FileBackendMultiWrite
[lhc/web/wiklou.git] / includes / filebackend / FileBackendMultiWrite.php
index c432025..3b20048 100644 (file)
@@ -385,6 +385,11 @@ class FileBackendMultiWrite extends FileBackend {
                        }
                }
 
+               if ( !$status->isOK() ) {
+                       wfDebugLog( 'FileOperation', get_class( $this ) .
+                               " failed to resync: " . FormatJson::encode( $paths ) );
+               }
+
                return $status;
        }