fde-slack-notification 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a27394e5562d79819b179f8e001754ed59c49143450ac72f0dbc7751a3f90961
4
- data.tar.gz: c1e22be84903957d0d8ab6582bd031a9e7d5b75a11041a14f6767971ed61db5f
3
+ metadata.gz: f48d43de6e5f3865f1fb98727994aa03747283ea2833b13cc3b9266e10f58070
4
+ data.tar.gz: 67ddbe72857d9586d48bad41d79ebaa19743081892cd04bb5fc354ac765aa793
5
5
  SHA512:
6
- metadata.gz: e5aca1edeaf43bfbb723c16c42bb9786945e6b5f6bbe216d0fdff8251842453aa8813453cd101f5f11bb266f1b3fcb5dc8c21bd5b6df34cd6a5a36aec586fb16
7
- data.tar.gz: 9d78a00e0c8faec3653c1dc19ae5b5aedd835f46dee1cbbdc15e5e61df3bbe217c6d1d17b1a576b361a003a48ad6ae82d4746d74961abfc4c5d3bba34e151dbf
6
+ metadata.gz: 289325450737e0ce1baeb9b8544189fa1867a9669483549659ab69beafc8d583af42647a9347e61adbfa7abde626f74d9e4260637165a23ed85dfc5e4e67ebe2
7
+ data.tar.gz: d0e530061d0370791619651f865ba3977dbe9466f704bdddd6627f5579cc9a607bbe30fa9e6cbfe6daca18fda1b480f791eac52bcc9f22b64c7857a2f3a8b303
@@ -9,7 +9,7 @@ module FDE
9
9
  YELLOW = '#FEEFB3'.freeze
10
10
  RED = '#FFBABA'.freeze
11
11
 
12
- RETRY_LIMIT = 1
12
+ RETRY_LIMIT = 3
13
13
  TOO_MANY_REQUESTS_STATUS_CODE = "429"
14
14
 
15
15
 
@@ -92,7 +92,8 @@ module FDE
92
92
  @retries += 1
93
93
  retry
94
94
  end
95
- raise FDE::Slack::Message::Error
95
+ raise api_error, message_hash: message_hash
96
+
96
97
  end
97
98
  end
98
99
 
@@ -1,7 +1,7 @@
1
1
  module FDE
2
2
  module Slack
3
3
  module Notification
4
- VERSION = "1.3.1"
4
+ VERSION = "1.3.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fde-slack-notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Langenegger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slack-notifier