Open
Description
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:
- Implement a mechanism (SSE or Redis queue) Use SSE for now till we implement Redis to send exception messages to the API consumer.
- Ensure that exception messages provide detailed information about the encountered error.