@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Improve exception reporting behavior for core exceptions master

Summary: See <https://github.com/facebook/phabricator/issues/487>. If an exception is thrown too high in the stack for the main exception handling to deal with it, we currently never report a stack trace. Instead: - Always report a stack trace to the error log. - With developer mode, also report a stack trace to the screen. Test Plan: Added a high-level `throw` and hit both cases. Got traces in the log and traces-under-developer-mode on screen. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D8022


+58 -4
2 changed files