Skip to content

Inconsistent behavior with REST 403/500 errors #7

@cgmartin

Description

@cgmartin

Seeing odd behavior in Sails v0.9.8 when throwing 500 application errors, and when 403 forbidden errors are triggered from policy configurations where a controller/action is false. The results are not consistent between Socket and HTTP modes. More research is needed.

To reproduce,

  1. Visit http://localhost:1337/rest-examples.
  2. Click the HTTP and Socket buttons for 403: Forbidden and 500: Internal Server Error
  3. Compare the results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions