diff --git a/app/jobs/export_job.rb b/app/jobs/export_job.rb index 3884f97d7..a3c581095 100644 --- a/app/jobs/export_job.rb +++ b/app/jobs/export_job.rb @@ -4,7 +4,7 @@ class ExportJob < ApplicationJob discard_on ActiveRecord::RecordNotFound before_perform do |job| - Sentry.set_tags(procedure_id: job.arguments.first.procedure.id) + Sentry.set_tags(procedure: job.arguments.first.procedure.id) end def perform(export) diff --git a/app/services/serializer_service.rb b/app/services/serializer_service.rb index bd7442a28..c569038da 100644 --- a/app/services/serializer_service.rb +++ b/app/services/serializer_service.rb @@ -10,7 +10,7 @@ class SerializerService def self.dossiers(procedure) Sentry.with_scope do |scope| - scope.set_tags(procedure_id: procedure.id) + scope.set_tags(procedure: procedure.id) data = execute_query('serializeDossiers', { number: procedure.id }) data && data['demarche']['dossiers']