From eaaf6f65e0f18bd793eea31de41a95a45156efbf Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 15 Jun 2023 16:24:01 +0200 Subject: [PATCH] fix: don't stop at first failed request --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3266e0e..24f47a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -136,7 +136,10 @@ async fn main() -> Result<(), Box> { } for t in tasks { - t.await??; + match t.await? { + Ok(_) => todo!(), + Err(e) => eprintln!("{}", e), + } } }, PostWomanActions::Show { } => {