solidusjs / solidus

A simple server that generates pages from JSON and Templates
MIT License
28 stars 7 forks source link

Return 500 instead of resource status #147

Open joanniclaborde opened 7 years ago

joanniclaborde commented 7 years ago

When a resource returns an error code, other than 404, the page should be rendered with a 500 code instead of the resource's code. It doesn't really make sense to tell the client he's unauthorized to access a page that uses an unauthorized resource.

pushred commented 6 years ago

:+1: this hasn't run into any trouble in production right?