diff --git a/src/main.rs b/src/main.rs index e1339dc..0974e18 100644 --- a/src/main.rs +++ b/src/main.rs @@ -119,6 +119,7 @@ async fn main() { loop { if let Err(error) = grab(callback.clone()) { println!("Error: {:?}", error); + return } } });