chore(export): set sentry tag procedure id

This commit is contained in:
Colin Darie 2024-05-13 14:01:43 +02:00
parent a07e492f3c
commit 1615b8ea28
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

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