From 1615b8ea28be3788e710a41fd29b0800dc1ca2e4 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Mon, 13 May 2024 14:01:43 +0200 Subject: [PATCH] chore(export): set sentry tag procedure id --- app/jobs/export_job.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/jobs/export_job.rb b/app/jobs/export_job.rb index 0ea91c844..d8e17da37 100644 --- a/app/jobs/export_job.rb +++ b/app/jobs/export_job.rb @@ -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