Merge pull request #10410 from colinux/fix-export-mismatch-tdc

Tech: tag sentry `procedure` sur le job d'exports pour faciliter le debuggage
This commit is contained in:
Colin Darie 2024-05-13 14:46:37 +02:00 committed by GitHub
commit 4f69b35ee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,8 @@ class ExportJob < ApplicationJob
def perform(export) def perform(export)
return if export.generated? return if export.generated?
Sentry.set_tags(procedure: export.procedure.id)
export.compute_with_safe_stale_for_purge do export.compute_with_safe_stale_for_purge do
export.compute export.compute
end end