mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
fix: debug assertion on print entries
This commit is contained in:
parent
43b33f4f4e
commit
5d4f3ea926
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ pub fn get_error(shell: &str, command: &str, data: &Data) -> String {
|
||||||
error_msg
|
error_msg
|
||||||
} else {
|
} else {
|
||||||
let timeout = data.config.timeout.0;
|
let timeout = data.config.timeout.0;
|
||||||
eprintln!("time out is: {}", timeout);
|
#[cfg(debug_assertions)]
|
||||||
|
eprintln!("timeout: {}", timeout);
|
||||||
error_output_threaded(shell, command, timeout)
|
error_output_threaded(shell, command, timeout)
|
||||||
};
|
};
|
||||||
error
|
error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue