Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git] / includes / api / ApiImport.php
index a134074..c7dcce8 100644 (file)
@@ -79,7 +79,7 @@ class ApiImport extends ApiBase {
 
                try {
                        $importer->doImport();
-               } catch ( MWException $e ) {
+               } catch ( Exception $e ) {
                        $this->dieUsageMsg( array( 'import-unknownerror', $e->getMessage() ) );
                }