chore(tazjin/tgsa): log translation requests

Change-Id: Ia4a5059bc82ad337fc9648d65bab638a0c2a7682
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8627
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-05-24 23:36:06 +03:00 committed by clbot
parent 85fe10bef1
commit 24cbf93729

View file

@ -305,6 +305,7 @@ fn fetch_with_cache(cache: &Cache, link: &TgLink) -> Result<TgPost> {
if let Some(message) = &msg.message {
if link.translated {
println!("translating {}#{}", link.username, link.message_id);
msg.message = Some(fetch_translation(message)?);
}
}