Tweaked the message for non-MW exceptions
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 9 Jan 2015 23:00:11 +0000 (15:00 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 9 Jan 2015 23:00:11 +0000 (15:00 -0800)
Change-Id: I46dae88d66b65aa596743bdbdbdee270d53ae803

includes/exception/MWExceptionHandler.php

index ad462f2..d49bdef 100644 (file)
@@ -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" .