Add a caught_by context field to exceptions
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Dec 2016 04:46:06 +0000 (20:46 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Dec 2016 04:46:06 +0000 (20:46 -0800)
commitb05989249eee07301022eeb0640d191acbab0f51
tree907aae3f226fe3405af572351668377bfb2d37e2
parentfbd038ea97f63df13cae48aa991e9261c670be57
Add a caught_by context field to exceptions

This distinguishes random errors caught and explicitly logged by various
callers from those that were only caught by the registered exception handler.
The later are likely to have more visibily impact on the user.

Change-Id: Icb4c4e9376270c5475c95cf40708a7ca3e4e0a49
includes/exception/MWExceptionHandler.php