diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/retry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/retry.go b/common/retry.go index 435d407..1b28e1b 100644 --- a/common/retry.go +++ b/common/retry.go @@ -21,7 +21,7 @@ func AutoRetry[T any]( ret, err := supplier() if err != nil { if logger != nil { - logger.Printf("Try %v/%v (sleep %vs): %v\n", + logger.Printf("Try %v/%v (sleep %vs): %v", i, maxRetryTimes, retryInterval, err) } timer := time.NewTimer(retryInterval) |