dozeo/couch_potato — pull request #4 by mkytzia (2013-02-01 13:27:02+00:00)
Title: Hotfix: update the view if RestClient responds with a status of 500

## Hotfix: view creation

If RestClient responds with ResourceNotFound (404), couch potato calls update_view to create this view. In our case Cloudant responds with RestClient::InternalServerError (500) and therefore couch potato is not creating the view.

Changes (for now):
* added RestClient::InternalServerError as rescue condition