fix: debug assertion on print entries

This commit is contained in:
iff
2025-06-11 23:30:31 +02:00
parent 43b33f4f4e
commit 5d4f3ea926

View File

@@ -61,7 +61,8 @@ pub fn get_error(shell: &str, command: &str, data: &Data) -> String {
error_msg
} else {
let timeout = data.config.timeout.0;
eprintln!("time out is: {}", timeout);
#[cfg(debug_assertions)]
eprintln!("timeout: {}", timeout);
error_output_threaded(shell, command, timeout)
};
error