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
handle_params_access_error not called during exception in controllers #162752
Comments
I did some hack to be able to return other than 200 in JsonRPCDispatcher
hope this help as temp solution for anyone with the same issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Impacted versions: 17
Steps to reproduce:
Create a new controllers.py to return JSON response
Call the API using curl:
Current behavior:
It looks like the
handle_params_access_error
is not called, my_logger.info('Handle Unauthorized Error')
is not printed in consoleExpected behavior:
JSON Response return 401 with following result:
I've checked the source code by looking for
handle_params_access_error
, and found that inir_http.py
the parameter is calledi could not found any other code to handle this parameter. please advise.
The text was updated successfully, but these errors were encountered: