From: Aaron Schulz Date: Fri, 9 Jan 2015 23:00:11 +0000 (-0800) Subject: Tweaked the message for non-MW exceptions X-Git-Tag: 1.31.0-rc.0~12706^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=608ef0c625b196f8471a844c22b0a93f56e7eaac;p=lhc%2Fweb%2Fwiklou.git Tweaked the message for non-MW exceptions Change-Id: I46dae88d66b65aa596743bdbdbdee270d53ae803 --- diff --git a/includes/exception/MWExceptionHandler.php b/includes/exception/MWExceptionHandler.php index ad462f27a0..d49bdefadc 100644 --- a/includes/exception/MWExceptionHandler.php +++ b/includes/exception/MWExceptionHandler.php @@ -83,8 +83,7 @@ class MWExceptionHandler { } } } else { - $message = "Unexpected non-MediaWiki exception encountered, of type \"" . - get_class( $e ) . "\""; + $message = "Exception encountered, of type \"" . get_class( $e ) . "\""; if ( $wgShowExceptionDetails ) { $message .= "\n" . MWExceptionHandler::getLogMessage( $e ) . "\nBacktrace:\n" .