cloudant-labs/cloudant-python

raise_for_status on document merge

Closed this issue · 1 comments

See here. We've guarded against 404s however couchdb/cloudant will return error JSON for other statuses as well. Use raise_for_status to prevent subsequent in/upsert with merged error JSON.

Forgot that opening a PR opens an issue >.<