Fixed error handling

https://trello.com/c/hXskreUL/1743-api-blueprint-api-hangs-with-this-blueprint
But the error is not handled by the app in no way anywhere further. It's propagated to the user of the API. The `result` represents a payload of the response, it's only altered a bit later on in the view.