-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: hide 5xx error message from client #6745
fix: hide 5xx error message from client #6745
Conversation
Hello there, I will take over this PR as it lacks of feedback. :) |
I'm sorry about that, I'm already wait for reply. now I see you commit , I learn something. |
Ohhh, I see, Glad to have you back, do you like to continue ? |
let me do this continue; Now that I see your commit, I think logging WARN would be a better way. |
Ok, please check those review comments carefully and fix them according to the comments. :) Would you take some time to finish it today ? |
ok |
Hello there, @liangliang4ward, There are still some comment need to be take care of. I will reopen them for you. |
@leslie-tsang hi, ci run failed. but not relate this PR code; |
I will check it out. Thanks for you contribution. |
CI pass now.
Please add the test case to cover the change. |
hi, I will close this pr, I find the master already modify some code relate with "authz-keycloak.lua" ,some logic is changed. |
hi @liangliang4ward , if what you think #6854 does not conflict with this PR, so you can go on and reopen this PR. |
some code I don't know how process; return 503, {message = err} and other code return: return 500, "Unable to determine token endpoint." and refer from #6699 |
we can just use 503? cc @spacewander |
It's recommended to return 503 as people keep thinking the 500 status code is the error of APISIX. |
Description
hidding 5xx error message from client
Fixes #6699
Checklist