diff --git a/src/main.rs b/src/main.rs index 30a288b..7394d91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -74,7 +74,9 @@ async fn main() -> Result<(), Box> { let sse_service_1 = sse_service.clone(); let mut watcher = recommended_watcher(move |res| match res { - Ok(_) => sse_service_1.push(&Poke {}).unwrap(), + Ok(_) => { + let _ = sse_service_1.push(&Poke {}); + } Err(e) => println!("watch error: {:?}", e), }) .unwrap();