MWException: Cleanup exception message output
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Nov 2013 18:46:19 +0000 (14:46 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 1 Nov 2013 18:46:19 +0000 (14:46 -0400)
commit451599d812d4421902cbae16990a4ddf3417d205
tree7ca4bf9f7e5fecc6ad2600b7d9d3a6ac6b25db3f
parent6c8ef6c35e44fecd78be589aac944f986caf12f1
MWException: Cleanup exception message output

Change I0a9e9244 lost the message when handling a non-MWException
exception, and for a long time MWException's getHTML and getText have
been missing the actual file and line where the exception was thrown.

We may as well use MWExceptionHandler::getLogMessage to fix all of
these, resulting in a more standardized exception output.

Change-Id: I8a9b4831c9c586bafe0a54516ff779cdfb008984
includes/Exception.php