Skip to content

update the way error is handled in handler #41

@stevehu

Description

@stevehu
  1. The default method getStatus in Handler interface accepts exchange as an argument so that status code can be set there.
  2. In AbstractRpcHandler.completeExchange, don't overwrite status code if there is a result. The default 200 will be used if not set.

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