softlayer / softlayer-object-storage-backup

Other
11 stars 3 forks source link

Don't swallow exception #12

Closed benmccann closed 11 years ago

benmccann commented 11 years ago

If a file fails to upload the exception is currently swallowed making it impossible to tell why the upload failed.

Maybe change: except Exception, e: l.error("Failed to upload %s, requeueing", _file)

To something more like: except Exception, e: l.error("Failed to upload %s, requeueing: %s", _file, e)