dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38a9e66
)
Tweaked the message for non-MW exceptions
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 9 Jan 2015 23:00:11 +0000
(15:00 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 9 Jan 2015 23:00:11 +0000
(15:00 -0800)
Change-Id: I46dae88d66b65aa596743bdbdbdee270d53ae803
includes/exception/MWExceptionHandler.php
patch
|
blob
|
history
diff --git
a/includes/exception/MWExceptionHandler.php
b/includes/exception/MWExceptionHandler.php
index
ad462f2
..
d49bdef
100644
(file)
--- 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" .