Skip to content

Commit

Permalink
Wrap #authenticate with critical
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Oct 9, 2023
1 parent bf27727 commit c0921dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE)
check_auth_method authtype
check_auth_args user, secret
authenticator = Authenticator.auth_class(authtype).new(self)
authenticator.auth(user, secret)
critical { authenticator.auth(user, secret) }
end

private
Expand Down

0 comments on commit c0921dc

Please sign in to comment.