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

Improve the exception handling #32

Closed
pmalarme opened this issue Aug 25, 2023 · 0 comments · Fixed by #35
Closed

Improve the exception handling #32

pmalarme opened this issue Aug 25, 2023 · 0 comments · Fixed by #35
Labels
enhancement New feature or request src: ai-shopping-cart-service AI Shopping Cart Service - Java Spring Boot microservice

Comments

@pmalarme
Copy link
Collaborator

When there is an issue in the ai shopping cart service, we receive an error message without the reason of the error. It can be that Azure OpenAI is not well configured or that the service is unavailable. The exception when calling Azure OpenAI should be caught and handle by the REST controller to give a meaningful message to the front-end

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Versions

1.0.1

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@pmalarme pmalarme added enhancement New feature or request src: ai-shopping-cart-service AI Shopping Cart Service - Java Spring Boot microservice labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request src: ai-shopping-cart-service AI Shopping Cart Service - Java Spring Boot microservice
Projects
None yet
1 participant