Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional debug logging when valid mail account cannot be found #258

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

basil
Copy link
Member

@basil basil commented Nov 2, 2020

See JENKINS-64095. #217 added more draconian enforcement of valid mail accounts. At least one user has encountered an invalid mail account and been unable to send mail. One possible area of concern is the check for smtpUsername != null, which would erroneously classify a mail account with an empty (not null!) SMTP username as invalid. More generally, users need a way to debug invalid mail account failures. This change adds detailed debug logs covering mail account selection and mail account validation, with which a user who encounters an invalid mail account failure can get detailed information about what is wrong with their mail account.

@basil basil added the bug label Nov 2, 2020
@basil basil merged commit 98e77da into jenkinsci:master Nov 2, 2020
@basil basil deleted the JENKINS-64095 branch November 20, 2020 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant