We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 626d88a commit a2ba58aCopy full SHA for a2ba58a
src/main/groovy/com/anotherchrisberry/spock/extensions/retry/RetryInterceptor.groovy
@@ -24,7 +24,7 @@ class RetryInterceptor implements IMethodInterceptor {
24
invocation.proceed()
25
attempts = retryMax + 1
26
} catch (Throwable t) {
27
- LOG.info("Retry caught failure ${attempts} / ${retryMax}: ", t)
+ LOG.info("Retry caught failure ${attempts + 1} / ${retryMax + 1}: ", t)
28
attempts++
29
if (attempts > retryMax) {
30
throw t
0 commit comments