No such method Exception::getText()
authorErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 3 Feb 2015 18:18:56 +0000 (10:18 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 3 Feb 2015 19:09:54 +0000 (11:09 -0800)
commitd99963bc2ae4222df49340bf75dff18501cb0a8b
treef5d5a22f55af5d66c82e4ba2bf1b45cf71a55d17
parentd43e51a42ca248753ef9f274e1a970e0e966af23
No such method Exception::getText()

It looks like a recent change converted this try/catch
statement from MWException to Exception, unfortunatly it
is still calling a method that only exists on MWException.

We arn't doing anything with the exception but exiting.  Lets
just allow the exception to be uncaught and fail naturally. The
uncaught exception will still output an error and return
a non-0 exit code.

Change-Id: I3e0e9d283c255d2aba8139d675943e93d7cb021a
maintenance/doMaintenance.php