Debug cause of low level retries

This commit is contained in:
Nick Craig-Wood 2016-06-15 21:48:14 +01:00
parent df1092ef33
commit 869d91269d

View File

@ -282,7 +282,7 @@ func (p *Pacer) call(fn Paced, retries int) (err error) {
if !retry {
break
}
fs.Debug("pacer", "low level retry %d/%d", i, retries)
fs.Debug("pacer", "low level retry %d/%d (error %v)", i, retries, err)
}
if retry {
err = fs.RetryError(err)