mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -335,7 +335,13 @@ async fn send_download_link(
|
||||
bot: CacheMe<Throttle<Bot>>,
|
||||
download_data: DownloadQueryData,
|
||||
) -> BotHandlerInternal {
|
||||
let link_data = get_download_link(&download_data).await?;
|
||||
let link_data = match get_download_link(&download_data).await {
|
||||
Ok(v) => v,
|
||||
Err(err) => {
|
||||
log::error!("{:?}", err);
|
||||
return Err(err);
|
||||
},
|
||||
};
|
||||
|
||||
bot
|
||||
.edit_message_text(
|
||||
|
||||
Reference in New Issue
Block a user