diff --git a/src/main.rs b/src/main.rs index 58267f0f33..60da80eb6f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,7 +131,10 @@ fn main() -> std::io::Result<()> { line_editor.clear_screen()?; } Err(err) => { - println!("Error: {:?}", err); + let message = err.to_string(); + if !message.contains("duration") { + println!("Error: {:?}", err); + } } } current_line += 1;