mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Add logs for send file error
This commit is contained in:
@@ -419,8 +419,9 @@ async fn wait_archive(
|
||||
|
||||
match _send_downloaded_file(&message, bot.clone(), downloaded_data).await {
|
||||
Ok(_) => (),
|
||||
Err(_) => {
|
||||
Err(err) => {
|
||||
send_archive_link(bot.clone(), message.clone(), task).await?;
|
||||
log::error!("{:?}", err);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user