Skip to content

Commit a67a5f9

Browse files
committed
fix lint
1 parent 479e59e commit a67a5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/users/passwords_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def send_password
4747

4848
def send_password_reset_mail
4949
@reset_token = @resource.send_reset_password_instructions # generate a reset token and call devise mailer
50-
rescue Net::ReadTimeout, Net::OpenTimeout, Timeout::Error => e
50+
rescue Net::ReadTimeout, Net::OpenTimeout => e
5151
# Log the error but don't expose it to the user for security reasons
5252
Rails.logger.error("Password reset email failed to send: #{e.class} - #{e.message}")
5353
Bugsnag.notify(e) if defined?(Bugsnag)

0 commit comments

Comments
 (0)