sensu/sensu — pull request #355 by sniperd (2012-08-17 18:48:29+00:00)
Title: Do not set stash if unparseable, remove stash if unparseable

Due to stashes being set even if the JSON could not be parsed its possible for a stash to contain unparseable data and cause the API server to fail and fail to return the stashes you requested.

Now if a stash does not contain valid json its removed from the stashes array and the stash itself is removed.