-
Notifications
You must be signed in to change notification settings - Fork 105
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
[Feature] Display downstream error messages. #1071
Comments
Can you provide more details about the issue and how to reproduce? It is not clear what do you meant by downstream error. ( FYI. every API provide different error interfaces when sending error ). Also it is hard to display errors in dashboard when the plugin expects the results instead. (handling unique type of errors specific to different API is not ideal ) |
I hope there is a way to pass the error to the front-end page for display. Here,we can try to parse the body and return the content using method 'errorsource.DownstreamError(err, false)' if the content is not empty. |
let me try... :) |
Any good news ? |
Discussed in #1065
Originally posted by tttoad November 26, 2024
When a downstream service has an error, it is expected to display an error message to the user.
This message might be "xx arg is invalid" and error message with trace_id.
The text was updated successfully, but these errors were encountered: