aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/kafka_grobid.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/kafka_grobid.py b/python/kafka_grobid.py
index 13fbcff..f3aaedf 100755
--- a/python/kafka_grobid.py
+++ b/python/kafka_grobid.py
@@ -199,7 +199,12 @@ class KafkaGrobidWorker:
return None, dict(status='denylist', key=key)
# Note: this may not get "cleared" correctly
- sentry_client.extra_context(dict(row_key=key))
+ sentry_client.extra_context(dict(
+ row_key=key,
+ cdx_url=info['file:cdx']['url'],
+ cdx_dt=info['file:cdx']['dt'],
+ cdx_warc=info['file:cdx']['warc'],
+ ))
# Do the extraction
info, status = self.extract(info)