Skip to content
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[hmi-server]: Improved Funman Errors #3238

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

dvince2
Copy link
Collaborator

@dvince2 dvince2 commented Apr 2, 2024

Catching exceptions thrown by the proxy service for funman operations. Also small code cleanup in eval controller.

Catching exceptions thrown by the proxy service for funman operations. Also small code cleanup in eval controller.
@dvince2 dvince2 requested a review from mwdchang April 2, 2024 17:48
@mwdchang
Copy link
Member

mwdchang commented Apr 2, 2024

@dvince2 funman-service has always been a bit quiet in terms of errors - what sort of reporting can we see now that we couldn't view before?

@dvince2
Copy link
Collaborator Author

dvince2 commented Apr 2, 2024

@mwdchang

Without this, any exceptions would have thrown a generic exception from the controller without a message and with a 500 error code. This will now properly bubble up the correct error code returned to us from the funman service and display a nicer error to the user. I've just been going through all of our controllers which make use of feignclient proxies to add this for better visibility on the front end

@dvince2 dvince2 merged commit c3c268a into main Apr 2, 2024
6 checks passed
@dvince2 dvince2 deleted the improve_funman_errors branch April 2, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants