Updated some try-catch statements: MWException -> Exception
[lhc/web/wiklou.git] / includes / jobqueue / jobs / PublishStashedFileJob.php
index 55215b3..3d4cfae 100644 (file)
@@ -108,7 +108,7 @@ class PublishStashedFileJob extends Job {
                                        'status' => Status::newGood()
                                )
                        );
-               } catch ( MWException $e ) {
+               } catch ( Exception $e ) {
                        UploadBase::setSessionStatus(
                                $user,
                                $this->params['filekey'],