Make it possible to not propagate errors to PHP
authorGergő Tisza <tgr.huwiki@gmail.com>
Tue, 21 Feb 2017 00:47:07 +0000 (16:47 -0800)
committerGergő Tisza <tgr.huwiki@gmail.com>
Thu, 8 Feb 2018 22:13:54 +0000 (14:13 -0800)
commit87a8c1de7318f4bd83b7b51f20bab5a81994d8b3
treea82cc9e91afe0c4d51df8ed99cef9031852dcd83
parentc3a1bff5a9324deb443b4acedd688c4b97f540aa
Make it possible to not propagate errors to PHP

Add a $wgPropagateErrors configuration variable which can be used
to prevent passing handled errors to PHP (and thus logging them twice).

Bug: T45086
Change-Id: I64ab09762a04de2007b7d7864e3c504a1d6f8aee
includes/DefaultSettings.php
includes/exception/MWExceptionHandler.php