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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/plugins/rails.rb +3 -1
- 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: b68a6aaaacbd4d0dacf73e81dac6927cc89bd1446b91be6d5a51456f3c7b7723
|
4
|
+
data.tar.gz: c8d46e503b7a562a63b01776f8b14aa98dccd5d81fc7ea02b98bd2ccff23ec7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
46
|
+
Honeybadger.notify(exception, tags: tags)
|
45
47
|
end
|
46
48
|
|
47
49
|
def self.source_ignored?(source)
|
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.
|
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-
|
11
|
+
date: 2024-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|