From 869d91269dd437d0a944ea383b0ad354f9e726db Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 15 Jun 2016 21:48:14 +0100 Subject: [PATCH] Debug cause of low level retries --- pacer/pacer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacer/pacer.go b/pacer/pacer.go index 045220aef..469012b77 100644 --- a/pacer/pacer.go +++ b/pacer/pacer.go @@ -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)