put_object obscures reason when if fails

Bug #1081746 reported by David Kranz on 2012-11-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The Connection class has reset/retry logic that cannot work with ordinary put_object. So put_object raises a ClientException
if the put fails. But the code in put_object._default_reset throws away the actual information in the primary exception so the client cannot know why the call failed.

Joel Wright (joel-wright-k) wrote :

This would certainly still seem to be the case for 500 errors and possibly some 498 errors in the case that put_object._default_reset is in use.

Changed in python-swiftclient:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers