openspending/openspending — pull request #733 by tryggvib (2013-12-11 11:18:27+00:00)
Title: Added error message (code: 400) when json model cannot be parsed

When a user submits a dataset via the api and the model cannot be parsed openspending just fails and gives a 500 error. This catches that error and gives the user an error message.

Fixes #727