Update Raven references to use Sentry
This commit is contained in:
parent
6ea44eefa9
commit
41c3a98d7d
8 changed files with 17 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue