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

Enhance Exception Handling and Communication #48

Open
arkaprovob opened this issue Oct 17, 2023 · 0 comments
Open

Enhance Exception Handling and Communication #48

arkaprovob opened this issue Oct 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request error-handling

Comments

@arkaprovob
Copy link
Contributor

Description:
In certain exceptional cases, there is a lack of proper communication of error messages to the API consumer. To enhance consumer experience and error handling, implement a mechanism, preferably using Server-Sent Events (SSE) or a Redis queue, to send formatted exception messages to the consumer when an exception occurs during command execution.

Benefits:

  • Improved error handling and api consumer experience.
  • Clear and informative error messages for API consumers.

Implementation:

  1. Implement a mechanism (SSE or Redis queue) Use SSE for now till we implement Redis to send exception messages to the API consumer.
  2. Ensure that exception messages provide detailed information about the encountered error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request error-handling
Projects
None yet
Development

No branches or pull requests

2 participants