honeybadger 5.10.1 → 5.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/plugins/active_job.rb +4 -2
- data/lib/honeybadger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 731b775f529f5438fd4062d5bebb966c9725ecc6cbbd8a1f1f62a92ae55ca9dd
|
4
|
+
data.tar.gz: 1ce0d3753f7d9b8500cba7453a282ae30f2017331bb03af8c604a19a3376f3e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c59f15225ef73eb3dc066a88eb442a2f3cc64e475ab6c32b8997298d084318d56e994a81f38263ff6bf813a569dcb11d2850374dba0d4bbc86f8ff6c4b87895
|
7
|
+
data.tar.gz: 21e79a0a3483a5cbf6a1fbe70508d9d550b38a392c716fe9a23500050c01e42642b2ca1a73cc29708931d92b52375b801c1cf5c8141a6d8395c3536e4c1116f6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
|
4
|
+
## [5.10.2](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.10.1...v5.10.2) (2024-05-24)
|
5
|
+
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* don't duplicate the error handling done by GoodJob ([#551](https://github.com/honeybadger-io/honeybadger-ruby/issues/551)) ([a0bab0d](https://github.com/honeybadger-io/honeybadger-ruby/commit/a0bab0de01c9782948ff6dd38c88434e71bdfa3d)), closes [#537](https://github.com/honeybadger-io/honeybadger-ruby/issues/537)
|
10
|
+
|
4
11
|
## [5.10.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.10.0...v5.10.1) (2024-05-23)
|
5
12
|
|
6
13
|
|
@@ -2,7 +2,7 @@ module Honeybadger
|
|
2
2
|
module Plugins
|
3
3
|
module ActiveJob
|
4
4
|
# Ignore inline and test adapters, as well as the adapters that we support with their own plugins
|
5
|
-
EXCLUDED_ADAPTERS = %i[inline test delayed_job faktory karafka resque shoryuken sidekiq sucker_punch]
|
5
|
+
EXCLUDED_ADAPTERS = %i[inline test delayed_job faktory karafka resque shoryuken sidekiq sucker_punch]
|
6
6
|
|
7
7
|
class << self
|
8
8
|
def perform_around(job, block)
|
@@ -37,7 +37,9 @@ module Honeybadger
|
|
37
37
|
requirement do
|
38
38
|
defined?(::Rails.application) &&
|
39
39
|
::Rails.application.config.respond_to?(:active_job) &&
|
40
|
-
|
40
|
+
(queue_adapter = ::Rails.application.config.active_job[:queue_adapter]) &&
|
41
|
+
!EXCLUDED_ADAPTERS.include?(queue_adapter.to_sym) &&
|
42
|
+
!(defined?(::GoodJob) && ::GoodJob.on_thread_error.nil? && queue_adapter.to_sym == :good_job) # Don't report errors if GoodJob is reporting them
|
41
43
|
end
|
42
44
|
|
43
45
|
execution do
|
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: 5.10.
|
4
|
+
version: 5.10.2
|
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: 2024-05-
|
11
|
+
date: 2024-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|