Make sure transfer errors are given enough context to be understandable

This commit is contained in:
Steve Streeting 2015-10-13 15:35:13 +01:00
parent 32f56cd652
commit dddd170da5

@ -227,7 +227,7 @@ func (q *TransferQueue) batchApiRoutine() {
for _, o := range objects {
if o.Error != nil {
q.errorc <- Error(o.Error)
q.errorc <- Errorf(o.Error, "[%v] %v", o.Oid, o.Error.Message)
q.meter.Skip(o.Size)
q.wait.Done()
continue