tvl-depot/users/Profpatsch/openlab-tools
Profpatsch b800bf2bd4 fix(users/Profpatsch/whatcd-resolver): pretty AppException
AppException would be a console-pretty-printed version for http
errors, which would print all the escape codes in the jaeger traces of
the exception, making it more-or-less unreadable.

So instead, let’s make AppException two cases, an ErrorTree case which
is printed as-is (no color), and a “Pretty” case which is printed
using the pretty module (colors on console, no colors in otel).

Somewhat involved, I guess this is temporary until I figure out what
is really needed.

Change-Id: Iff4a8651c5f5368a5b798541efc19cc7ab9de34b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12232
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
2024-09-13 11:13:59 +00:00
..
src fix(users/Profpatsch/whatcd-resolver): pretty AppException 2024-09-13 11:13:59 +00:00
default.nix feat(users/Profpatsch/MyPrelude): add Pretty module 2024-03-23 19:51:59 +00:00
Main.hs feat(users/Profpatsch): init openlab-tools 2023-10-19 20:59:12 +00:00
openlab-tools.cabal feat(users/Profpatsch/MyPrelude): add Pretty module 2024-03-23 19:51:59 +00:00