-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Logging bug in HttpRequesterMiddleware
#1953
Conversation
@masoud-bahrami Have you read our development process docs? |
@raman-m In the CreateLogBasedOnResponse method due to As you can see, In the next branch of if, It's like |
Did you mean as warning? 😉 to be logged by |
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.
Please cover this scenario by unit test(s)!
Will be good to write acceptance tests too
HttpRequesterMiddleware
BadRequest should be logged as debug!
BadRequest
should be logged as debug!Update by Maintainer on Feb 27, 2024
BadRequest
should be logged as warning viaLogWarning
method.