about summary refs log tree commit diff
path: root/users/tazjin/tgsa/src
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-05-24T20·36+0300
committerclbot <clbot@tvl.fyi>2023-05-24T20·42+0000
commit24cbf93729d3ec202c690adc607364ab010e0c7c (patch)
treed96e24993acdfe060b27add52767382006f436d7 /users/tazjin/tgsa/src
parent85fe10bef12370410c0c0e0d4a43363ca5dda4d7 (diff)
chore(tazjin/tgsa): log translation requests r/6196
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
Diffstat (limited to 'users/tazjin/tgsa/src')
-rw-r--r--users/tazjin/tgsa/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/tgsa/src/main.rs b/users/tazjin/tgsa/src/main.rs
index bff02924038f..1c7ee408abe4 100644
--- a/users/tazjin/tgsa/src/main.rs
+++ b/users/tazjin/tgsa/src/main.rs
@@ -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)?);
         }
     }