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,
- Visit
http://localhost:1337/rest-examples.
- Click the HTTP and Socket buttons for 403: Forbidden and 500: Internal Server Error
- Compare the results.