honeybadger 5.24.0 → 5.25.0

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: 31e329380be3a169c776198960e6557ca9868511737c1b272e9720dbe6f2740e
4
- data.tar.gz: 33347a45c58cd403e12cc3d93194163b6ee2ba310f54c04d5a9423221e4bc6f7
3
+ metadata.gz: b68a6aaaacbd4d0dacf73e81dac6927cc89bd1446b91be6d5a51456f3c7b7723
4
+ data.tar.gz: c8d46e503b7a562a63b01776f8b14aa98dccd5d81fc7ea02b98bd2ccff23ec7f
5
5
  SHA512:
6
- metadata.gz: 6c3b9297748ae34ff9bba398ae209de3917afa0d2f50569a697695702cac972e9212d13ea4d766be5eb90c257df8e3a0aac2688e200da2ea2c2f72f27809ac07
7
- data.tar.gz: 3f2a284a89f3a4ead20ac8dc75d537a0985dbe4aea60528571d528c3e54e4bf0e5e9f0bf57d8176ad926a794fa56a4e9a7c9663aa9291fec0d6cf1d4d902a75e
6
+ metadata.gz: 4bff878d0ea80ad0fc34f9265e7815dc2c9bf922e4f5bb59381a4822b549725fdcce413206c0f48495e56bb283ccdf3f23d4a485541b51fd843563d83f397103
7
+ data.tar.gz: 2bf7ff80ed9af1137ba412b51d29e0ae5dc7151f103c2a804dc3edf86f27e756f69c307d1d79d7f084f82c643b76b9049587873a06bfa722a041d425251ba8f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [5.25.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.24.0...v5.25.0) (2024-11-26)
5
+
6
+
7
+ ### Features
8
+
9
+ * set context during rails error report ([#649](https://github.com/honeybadger-io/honeybadger-ruby/issues/649)) ([dee37e1](https://github.com/honeybadger-io/honeybadger-ruby/commit/dee37e157b0913e24a5d368e3d2cbe733f87214e))
10
+
4
11
  ## [5.24.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v5.23.0...v5.24.0) (2024-11-21)
5
12
 
6
13
 
@@ -32,6 +32,8 @@ module Honeybadger
32
32
 
33
33
  class ErrorSubscriber
34
34
  def self.report(exception, handled:, severity:, context: {}, source: nil)
35
+ Honeybadger.context(context)
36
+
35
37
  # We only report handled errors (`Rails.error.handle`)
36
38
  # Unhandled errors will be caught by our integrations (eg middleware),
37
39
  # which have richer context than the Rails error reporter
@@ -41,7 +43,7 @@ module Honeybadger
41
43
 
42
44
  tags = ["severity:#{severity}", "handled:#{handled}"]
43
45
  tags << "source:#{source}" if source
44
- Honeybadger.notify(exception, context: context, tags: tags)
46
+ Honeybadger.notify(exception, tags: tags)
45
47
  end
46
48
 
47
49
  def self.source_ignored?(source)
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = '5.24.0'.freeze
3
+ VERSION = '5.25.0'.freeze
4
4
  end
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.24.0
4
+ version: 5.25.0
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-11-21 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger