-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-9827.Fix Http Response code in GenericExceptionHandler #4393
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
Conversation
|
💔 -1 overall
This message was automatically generated. |
| && e.getCause() instanceof UnmarshalException) { | ||
| s = Response.Status.BAD_REQUEST; | ||
| } else { | ||
| LOG.warn("INTERNAL_SERVER_ERROR", e); |
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.
Would you update the log message as well?
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.
Thanks for pointing it out. I have made the changes in next commit.
|
💔 -1 overall
This message was automatically generated. |
|
Thanks @ashutoshcipher for the patch and @aajisaka for the review. WIll commit this patch. |
) Co-authored-by: Ashutosh Gupta <[email protected]> Reviewed by Akira Ajisaka.
Description of PR
Fix Http Response code in GenericExceptionHandler