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 60e5f02 commit b84a0bb
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 @@ -837,7 +837,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 b84a0bb

Please sign in to comment.