Skip to content

Enhance Exception Handling and Communication #48

Open
@arkaprovob

Description

@arkaprovob

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions