-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Log all cause exception when authc fails #111534
Log all cause exception when authc fails #111534
Conversation
In RealmsAuthenticator, if a realm fails to authenticate the token, log the whole chain of exception causes.
Pinging @elastic/es-security (Team:Security) |
I ran into this while trying to diagnose The log there says
But it loses the root cause which is captured here
but not logged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- apologies I missed the notification.
@elasticmachine update branch |
In RealmsAuthenticator, if a realm fails to authenticate the token, log the whole chain of exception causes.
In RealmsAuthenticator, if a realm fails to authenticate the token, log the whole chain of exception causes.
In RealmsAuthenticator, if a realm fails to authenticate the token, log the whole chain of exception causes.