Skip to content

Seems like this project breaks sailsjs default error handling #15

@marcosnils

Description

@marcosnils

If I call next({error: "Error"}) within any controller i'd expect sails to handle it by the default error (500) middleware. However in this project this doesn't happen, instead I get an [object Object] output.

Any ideas what may be causing this misbehaviour?

Thanks!.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions