This commit is contained in:
2023-06-07 22:48:01 +02:00
parent 2879985241
commit 5175cd5446

View File

@@ -1,6 +1,7 @@
use std::{str::FromStr, time::Duration}; use std::{str::FromStr, time::Duration};
use futures::TryStreamExt; use futures::TryStreamExt;
use log::logger;
use moka::future::Cache; use moka::future::Cache;
use regex::Regex; use regex::Regex;
use strum_macros::EnumIter; use strum_macros::EnumIter;
@@ -514,6 +515,8 @@ async fn download_archive(
.send() .send()
.await?; .await?;
log::error!("{:?}", err);
return Err(err); return Err(err);
}, },
}; };
@@ -525,7 +528,11 @@ async fn download_archive(
app_state.chat_donation_notifications_cache app_state.chat_donation_notifications_cache
).await { ).await {
Ok(_) => Ok(()), Ok(_) => Ok(()),
Err(err) => Err(err), Err(err) => {
log::error!("{:?}", err);
Err(err)
},
} }
}); });