about summary refs log tree commit diff
path: root/tvix/cli
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-23T08·48+0300
committerflokli <flokli@flokli.de>2023-09-23T12·54+0000
commit09a901de5bde8a583d50fe4086c5128c6c0114c7 (patch)
treed485e31bc7957644cb2364abfefc6057f16c1c1f /tvix/cli
parent8de0d6ad48a4974abc1cd22300e982dd2dab72a7 (diff)
feat(tvix/nix-compat): fix and improve error message r/6638
Similar to cl/9350. Most of the times, this is still a regular string,
so let's print it like that if we can, and resort to base64 encoding if
we can't.

We were also wrongly always outputting the second character in the
string.

Change-Id: Id0e2a9d9f1ad3d2d7b554893ecd89a7e6383e9c2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9445
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/cli')
0 files changed, 0 insertions, 0 deletions