benoitc / couchdbkit

CouchDB python framework
http://couchdbkit.org
Other
265 stars 94 forks source link

Bring restkit RequestFailed a bit closer to front #156

Closed ferrix closed 11 years ago

ferrix commented 11 years ago

I am getting some 503s from time to time. That means I have to go all the way to importing restkit to handle these errors gracefully. This is strictly my opinion but this makes it a little bit easier to find these exceptions.

Catching the problem and reducing the stack trace to a minimum would also make sense since these exceptions are never raised based on something that happened inside couchdbkit or restkit.