Skip to content

Commit

Permalink
shouldnt care if this fails
Browse files Browse the repository at this point in the history
  • Loading branch information
AviiNL committed Mar 17, 2024
1 parent 1e96db7 commit ba491fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

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();
Expand Down

0 comments on commit ba491fc

Please sign in to comment.