mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -335,7 +335,13 @@ async fn send_download_link(
|
|||||||
bot: CacheMe<Throttle<Bot>>,
|
bot: CacheMe<Throttle<Bot>>,
|
||||||
download_data: DownloadQueryData,
|
download_data: DownloadQueryData,
|
||||||
) -> BotHandlerInternal {
|
) -> 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
|
bot
|
||||||
.edit_message_text(
|
.edit_message_text(
|
||||||
|
|||||||
Reference in New Issue
Block a user