honeybadger 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/lib/honeybadger/plugins/shoryuken.rb +7 -9
- data/lib/honeybadger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2dbccf9f60503c126bc9f6b66cdde42481fac83e
|
4
|
+
data.tar.gz: f659d0157462c409907932c85a4b9a5e0e2cf8cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db263977550ca7fe10f9c47c8a49518b3c25ccc23f9e5b47b49980c944f2c4e86eeddf6e41a9fe70e93d07a87b19f45b9bc7f3acdce34dc9e5b1065ca1e91f0
|
7
|
+
data.tar.gz: efd096b1bb6b968796bc2c00b46c0cb59b0c3d593e028b8551efb84e21e7a2de9e0f124500584b2f106af92c7c0f9c89357b6a10f42aa97f6de80551d05694d8
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [3.3.1] - 2018-08-02
|
9
|
+
### Fixed
|
10
|
+
- Fix synchronous throttling in shoryuken
|
11
|
+
|
8
12
|
## [3.3.0] - 2018-01-29
|
9
13
|
### Changed
|
10
14
|
- Use prepend to add Sidekiq Middleware to fix context getting cleared.
|
@@ -6,16 +6,14 @@ module Honeybadger
|
|
6
6
|
module Shoryuken
|
7
7
|
class Middleware
|
8
8
|
def call(_worker, _queue, sqs_msg, body)
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Honeybadger.notify(e, parameters: notification_params(body))
|
15
|
-
end
|
16
|
-
|
17
|
-
raise e
|
9
|
+
begin
|
10
|
+
yield
|
11
|
+
rescue => e
|
12
|
+
if attempt_threshold <= receive_count(sqs_msg)
|
13
|
+
Honeybadger.notify(e, parameters: notification_params(body))
|
18
14
|
end
|
15
|
+
|
16
|
+
raise e
|
19
17
|
end
|
20
18
|
ensure
|
21
19
|
Honeybadger.context.clear!
|
data/lib/honeybadger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeybadger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Honeybadger Industries LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.6.14
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Error reports you can be happy about.
|