diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index 4ba0b7c7..90015542 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -34,7 +34,7 @@ class RegistrationsController < Devise::RegistrationsController def anti_spambot_traps raise SpambotError if spambot? rescue SpambotError => e - ExceptionNotifier.notify_exception(e, data: { params: anonymized_params }) + ExceptionNotifier.notify_exception(e, data: { params: anonymized_params, headers: request.headers.to_h }) nil end