Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

catch-all handler for messages with no receivers #282

@mjhm

Description

@mjhm

If a web service makes send an exocom message which never returns due to an error somewhere in a chain of services, then the web service just hangs. Ideally for such unexpected errors we would want to return a 500 status error. The service that errors can send a generic error message, but I don't see a way for the web service to capture that error, without passing it back through the service chain.

It's possible for services to generate messages (e.g. for errors) that aren't explicitly handled by any service. Then exocom prints out something like

Warning: No receivers for message 'show error' registered

Ideally we'd also want to be able to log the error along with it's payload so that the problem can be diagnosed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions