Add logs for send file error

This commit is contained in:
2024-04-14 21:43:30 +02:00
parent ddd4f18d2a
commit 14fea4c70e

View File

@@ -419,8 +419,9 @@ async fn wait_archive(
match _send_downloaded_file(&message, bot.clone(), downloaded_data).await { match _send_downloaded_file(&message, bot.clone(), downloaded_data).await {
Ok(_) => (), Ok(_) => (),
Err(_) => { Err(err) => {
send_archive_link(bot.clone(), message.clone(), task).await?; send_archive_link(bot.clone(), message.clone(), task).await?;
log::error!("{:?}", err);
} }
} }