Log non-MediaWiki exceptions for requests via main entry point
Previously, non-MediaWiki exceptions were logged only for api requests, job runner, resource loader, etc. but not for general requests such as page views. Bug: 61914 Change-Id: Id4de5cac0b9996a98cdaf5e73655d49fa55ea8c3
This commit is contained in:
parent
03cfd26a7a
commit
3e87e7edf5
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ class MWExceptionHandler {
|
|||
} else {
|
||||
echo nl2br( htmlspecialchars( $message ) ) . "\n";
|
||||
}
|
||||
|
||||
self::logException( $e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue