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 15, 2023
1 parent c41e299 commit 51b3642
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 51b3642

Please sign in to comment.