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:
commit
4f69b35ee2
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ class ExportJob < ApplicationJob
|
|||
def perform(export)
|
||||
return if export.generated?
|
||||
|
||||
Sentry.set_tags(procedure: export.procedure.id)
|
||||
|
||||
export.compute_with_safe_stale_for_purge do
|
||||
export.compute
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue