Merge pull request #9075 from colinux/fix-sentry-dolist-contact

ETQ exploitant je veux faire remonter les contacts Dolist en erreur dans sentry
This commit is contained in:
Paul Chavard 2023-05-24 08:06:10 +00:00 committed by GitHub
commit b0e179300b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ module Dolist
if fields.empty? if fields.empty?
Sentry.with_scope do |scope| Sentry.with_scope do |scope|
scope.set_extra(:email, email_address) scope.set_extra(:contact, email_address)
Sentry.capture_message("Dolist::API: contact not found") Sentry.capture_message("Dolist::API: contact not found")
end end