Error handling for couchdb settings