Merge "Set stat cache when getting local copy files in Swift"
[lhc/web/wiklou.git] / includes / filebackend / SwiftFileBackend.php
index ed2c42b..836fd49 100644 (file)
@@ -647,7 +647,7 @@ class SwiftFileBackend extends FileBackendStore {
                        $timestamp = new MWTimestamp( $ts );
 
                        return $timestamp->getTimestamp( $format );
-               } catch ( MWException $e ) {
+               } catch ( Exception $e ) {
                        throw new FileBackendError( $e->getMessage() );
                }
        }