Michał Prokopowicz

Results 2 issues of Michał Prokopowicz

I have a base app (it is doing static content serving and other common tasks) ``` var app = express(); ``` and a router for api mounted on /api/v2 ```...

How can I respond with proper JSON containing validator errors? I'm using parseRequest middleware, the error I'm catching has proper status property for validation errors (400), but when I'm about...