Update Raven references to use Sentry

This commit is contained in:
Paul Chavard 2021-01-28 14:49:22 +01:00
parent 6ea44eefa9
commit 41c3a98d7d
8 changed files with 17 additions and 18 deletions

View file

@ -72,7 +72,7 @@ RSpec.describe Cron::AutoArchiveProcedureJob, type: :job do
error = StandardError.new('nop')
expect(buggy_procedure).to receive(:close!).and_raise(error)
expect(job).to receive(:procedures_to_close).and_return([buggy_procedure, procedure_hier])
expect(Raven).to receive(:capture_exception).with(error, extra: { procedure_id: buggy_procedure.id })
expect(Sentry).to receive(:capture_exception).with(error, extra: { procedure_id: buggy_procedure.id })
subject
end