Skip to content

Commit

Permalink
Merge pull request #599 from wb14123/fix-throw
Browse files Browse the repository at this point in the history
Fix catch with throw+ instead of throw
  • Loading branch information
aphyr authored Oct 25, 2024
2 parents 9e4987a + 0c3a725 commit 0a73dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jepsen/src/jepsen/control/retry.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
(if (pos? tries#)
(do (Thread/sleep (+ (/ backoff-time 2) (rand-int backoff-time)))
(~'retry (dec tries#)))
(throw e#))))))
(throw+ e#))))))

(defrecord Remote [remote conn]
core/Remote
Expand Down

0 comments on commit 0a73dfb

Please sign in to comment.