From b6547563641e695e49f686ac6d9222ea491de710 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Sun, 5 May 2019 11:34:00 -0700 Subject: [PATCH] Changing from %v to %d for tieout debug print. --- retry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retry.go b/retry.go index ba472a8..256e509 100644 --- a/retry.go +++ b/retry.go @@ -179,7 +179,7 @@ func (r *realisClient) thriftCallWithRetries(returnOnTimeout bool, thriftCall au if e.Timeout() { timeouts++ r.logger.DebugPrintf( - "Client closed connection (timedout) %v times before server responded, consider increasing connection timeout", + "Client closed connection (timedout) %d times before server responded, consider increasing connection timeout", timeouts) if returnOnTimeout { return resp, newTimedoutError(errors.New("client connection closed before server answer"))