Skip to content

CouchDB errors are not reported cleanly (shows up as exception from simplejson) #233

Open
@djc

Description

@djc

From wickedg...@gmail.com on April 01, 2014 20:40:08

What steps will reproduce the problem? 1. Provoke a CouchDB timeout error: https://gist.github.com/wickedgrey/d2c87e6ee1e7c695abae (Note: I have no idea how to do this consistently; see https://issues.apache.org/jira/browse/COUCHDB-2218 ).
2. Try to be reading a view when provoking the error: https://gist.github.com/geordanr/30458322a74d3c753ab9 I don't have the actual HTTP request / response data.

I would like to have the exception convey more information about what exactly went wrong (ie. what the HTTP status code was, the raw bytes received, etc.) rather than getting something coming from inside simplejson.

Original issue: http://code.google.com/p/couchdb-python/issues/detail?id=233

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions