about summary refs log tree commit diff
path: root/tvix/cli
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-10-21T13·24+0200
committerclbot <clbot@tvl.fyi>2024-11-12T00·28+0000
commit72bc4e0270891d72213989096ff1180adc07a578 (patch)
tree9d3f619d5e6ea3d5aa701013f30c4841b461b8c8 /tvix/cli
parent0c5ad949148b178c13b0cb8f2ed3fe274e9cf522 (diff)
fix(tvix): use tracing::field::Empty for all indicatif.pb_show r/8906
This prevents the field from getting printed to stderr, apparently.

Change-Id: Ia9860e4ff37224003154db88ee5f83103060e626
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12756
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'tvix/cli')
-rw-r--r--tvix/cli/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/cli/src/lib.rs b/tvix/cli/src/lib.rs
index 09ab62280945..3a0040ea1623 100644
--- a/tvix/cli/src/lib.rs
+++ b/tvix/cli/src/lib.rs
@@ -229,7 +229,7 @@ impl InterpretResult {
 /// Interprets the given code snippet, printing out warnings, errors
 /// and the result itself. The return value indicates whether
 /// evaluation succeeded.
-#[instrument(skip_all, fields(indicatif.pb_show=1))]
+#[instrument(skip_all, fields(indicatif.pb_show=tracing::field::Empty))]
 #[allow(clippy::too_many_arguments)]
 pub fn interpret(
     tvix_store_io: Rc<TvixStoreIO>,