Skip to content

Commit f683b79

Browse files
committed
debug: allow eprintln for debugging
1 parent 168790b commit f683b79

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/uffs-cli/src/commands.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//! All public functions are async where I/O is involved and return
55
//! `anyhow::Result`.
66
7+
// TEMPORARY: Allow eprintln for debugging nested runtime panic
8+
#![allow(clippy::print_stderr)]
9+
710
use std::fs::File;
811
use std::io::{BufWriter, Write};
912
use std::path::{Path, PathBuf};
@@ -1259,7 +1262,10 @@ fn execute_index_query(
12591262
// Execute and convert to DataFrame
12601263
eprintln!("[DEBUG] execute_index_query: before query.collect()");
12611264
let results = query.collect();
1262-
eprintln!("[DEBUG] execute_index_query: after query.collect(), count={}", results.len());
1265+
eprintln!(
1266+
"[DEBUG] execute_index_query: after query.collect(), count={}",
1267+
results.len()
1268+
);
12631269
eprintln!("[DEBUG] execute_index_query: before results_to_dataframe");
12641270
let df = results_to_dataframe(index, &results, resolve_paths);
12651271
eprintln!("[DEBUG] execute_index_query: after results_to_dataframe");

0 commit comments

Comments
 (0)