Skip to content

'after' event does not always fire before res.send() is complete. was (Response.send should handle formatter errors) #845

@yunong

Description

@yunong

From #839, we should

  1. return the error from the formatter if it is an instance of http or rest error.
  2. return internalerror if the error is not one of those 2 instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions