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

@ -25,8 +25,7 @@ class ApplicationMailer < ActionMailer::Base
rescue StandardError => e
# A problem occured when reading logo, maybe the logo is missing and we should clean the procedure to remove logo reference ?
Raven.extra_context(procedure_id: procedure.id)
Raven.capture_exception(e)
Sentry.capture_exception(e, extra: { procedure_id: procedure.id })
nil
end
end