hack when couch error occurs.

https://issues.apache.org/jira/browse/COUCHDB-893
Merge pull request #5017 from ticoann/hack_couch_error_acdc

hack when couch error occurs.