-
Notifications
You must be signed in to change notification settings - Fork 4.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
[Improvement][API] Change the way exceptions are handled in the API #11278
Comments
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
|
I think |
@zhongjiajie Hi Jiajie, What's your opinion about this issue? |
I have discuss with @caishunfeng , we think Lines 39 to 43 in ae6aa53
ServiceException to Result object, and return in controller . And we already have some existing code in Lines 94 to 105 in ae6aa53
And @SbloodyS do you think it is a good idea about this change? @SbloodyS |
That make sense to me. And it's a big project to modify it. I suggest mark it as a |
+1, make sense to me, |
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
Search before asking
Description
Now we put the exception into the Result class and parse it.
This is not an elegant approach, so we would like to change the original
to
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: