This commit is contained in:
2023-06-07 22:21:05 +02:00
parent 8d3bedeba6
commit b40aa7f424

View File

@@ -500,13 +500,17 @@ async fn download_archive(
return Ok(()); return Ok(());
} }
bot let send_result = bot
.send_document( .send_document(
message.chat.id, message.chat.id,
InputFile::url(task.result_link.unwrap().parse().unwrap()) InputFile::url(task.result_link.unwrap().parse().unwrap())
) )
.send() .send()
.await?; .await;
if let Err(err) = send_result {
log::error!("{:?}", err);
}
Ok(()) Ok(())
}); });