5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 05:26:22 +00:00

fix: también informar los headers #17722

This commit is contained in:
f 2024-11-01 16:06:12 -03:00
parent 9c0305d79d
commit 1f4b1b5fce
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ class RegistrationsController < Devise::RegistrationsController
def anti_spambot_traps def anti_spambot_traps
raise SpambotError if spambot? raise SpambotError if spambot?
rescue SpambotError => e 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 nil
end end