rescue-retry 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rescue/handler.rb +1 -1
- data/lib/rescue/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e2662a84e12fbe07e1514a9c4704838d1b9c0b
|
4
|
+
data.tar.gz: 4ffade576e2406db2fcd9e557cb84ae26a7ddf20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6b85cc8d591e4c22becc3dfc266e55963a174d266f4ab7106f159569e62c89a6f00956428aceda3c8628964abb24a1afcf0f39306d8718225a3d36f1011f82c
|
7
|
+
data.tar.gz: 67d92ffe08733f0b7fad889991658127334eb057cc268c6ce5d3d4e0d17d7b2023cbad8dc8c14f0297be85bd0ae9b7292b39515244157989f75d53fa005717c9
|
data/lib/rescue/handler.rb
CHANGED
@@ -33,7 +33,7 @@ module Rescue
|
|
33
33
|
|
34
34
|
def log_attempt(e)
|
35
35
|
logger.warn "Failed attempt (#{attempt} of #{max_attempts}) #<#{e.class.name}.#{e.message}>"
|
36
|
-
logger.error "maximum attempts (#{max_attempts}) reached"
|
36
|
+
logger.error "maximum attempts (#{max_attempts}) reached" if max_attempts?
|
37
37
|
end
|
38
38
|
|
39
39
|
def max_attempts?
|
data/lib/rescue/version.rb
CHANGED