sapling/eden/mononoke/common
Thomas Orozco 72b949340f mononoke: pretty-print root-cause
Summary:
Right now, we debug-print the root cause and pretty-print everything else. This
is pretty bad because the root cause is usually the one thing we would want to
pretty print so we can add instructions there (such as "your hooks failed, fix
it").

This fixes this so we stop pretty-printing the root cause, but also debug print
the whole error, which gives us more developer-friendly context and is easier
for automation to match on.

This is actually in common/rust ... but we're the only people using it AFAICT.

Reviewed By: StanislavGlebik

Differential Revision: D21522518

fbshipit-source-id: 10158811574b56024e14852229e4541da19d5609
2020-05-12 07:59:42 -07:00
..
allocation_tracing mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
async_limiter mononoke/context_concurrency_blobstore: use rate limit instead of semaphore 2020-05-12 06:49:25 -07:00
bounded_traversal Bump tokio to 0.2.13 2020-04-15 12:18:00 -07:00
dedupmap mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
rust mononoke: pretty-print root-cause 2020-05-12 07:59:42 -07:00
scuba_ext mononoke/rust-shed: apply new coding style convention that separates oss-only code 2020-05-07 04:52:16 -07:00
sql_construct mononoke/rust-shed: apply new coding style convention that separates oss-only code 2020-05-07 04:52:16 -07:00
topo_sort mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00
uniqueheap mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00