mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Add logs
This commit is contained in:
@@ -500,13 +500,17 @@ async fn download_archive(
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
bot
|
||||
let send_result = bot
|
||||
.send_document(
|
||||
message.chat.id,
|
||||
InputFile::url(task.result_link.unwrap().parse().unwrap())
|
||||
)
|
||||
.send()
|
||||
.await?;
|
||||
.await;
|
||||
|
||||
if let Err(err) = send_result {
|
||||
log::error!("{:?}", err);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user