We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479e59e commit a67a5f9Copy full SHA for a67a5f9
app/controllers/users/passwords_controller.rb
@@ -47,7 +47,7 @@ def send_password
47
48
def send_password_reset_mail
49
@reset_token = @resource.send_reset_password_instructions # generate a reset token and call devise mailer
50
- rescue Net::ReadTimeout, Net::OpenTimeout, Timeout::Error => e
+ rescue Net::ReadTimeout, Net::OpenTimeout => e
51
# Log the error but don't expose it to the user for security reasons
52
Rails.logger.error("Password reset email failed to send: #{e.class} - #{e.message}")
53
Bugsnag.notify(e) if defined?(Bugsnag)
0 commit comments