We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3741a22 + a2ba58a commit 5bafa22Copy full SHA for 5bafa22
.gitignore
@@ -2,4 +2,8 @@
2
.gradle
3
out
4
*.iml
5
-build
+build
6
+.classpath
7
+.project
8
+.settings/
9
+bin/
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