honeybadger 4.5.0 → 4.5.1
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/breadcrumbs/logging.rb +4 -3
- 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: eac6213788a4b8b6df635963d871e79d272be344336b0ba05fa83d341619f9cb
|
4
|
+
data.tar.gz: f32791ebf4ba5e79ae3f29126854ee07afcaf30042aad4bacb4f0e02662d744f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5e37eb91ad24fe3678e738a1c44fec089bb9cc0e47f723b5ff9d2cad3fcb8ca0543a5916ad8cb144c91e323f8249a53dbb1ea227b76d953d89bf50ecffb8ea6
|
7
|
+
data.tar.gz: 80ee259d3caab22bd0e4709f2a4bdf53411dfb2408ebd4e5c2d6818dc8b114b4d4c945cc7037bc3eea8877a1b0be1fb4496ad70e3e4f44caa11321678b1362a3
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,13 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [4.5.1] - 2019-08-13
|
9
|
+
### Fixed
|
10
|
+
- Logging breadcrumbs will not crash anymore when logging is done using a block
|
11
|
+
form. -@Bajena
|
12
|
+
- When `breadcrumbs` are enabled ensure we call the original `Logger#add` with
|
13
|
+
the original arguments -@JanStevens
|
14
|
+
|
8
15
|
## [4.5.0] - 2019-08-05
|
9
16
|
### Changed
|
10
17
|
- Default `max_queue_size` has been reduced from 1000 to 100.
|
@@ -4,6 +4,7 @@ module Honeybadger
|
|
4
4
|
#
|
5
5
|
module LogWrapper
|
6
6
|
def add(severity, message = nil, progname = nil)
|
7
|
+
org_severity, org_message, org_progname = severity, message, progname
|
7
8
|
message, progname = [progname, nil] if message.nil?
|
8
9
|
message = message && message.to_s.strip
|
9
10
|
unless should_ignore_log?(message, progname)
|
@@ -13,7 +14,7 @@ module Honeybadger
|
|
13
14
|
})
|
14
15
|
end
|
15
16
|
|
16
|
-
super
|
17
|
+
super(org_severity, org_message, org_progname)
|
17
18
|
end
|
18
19
|
|
19
20
|
private
|
@@ -35,10 +36,10 @@ module Honeybadger
|
|
35
36
|
# logs as they just become noise.
|
36
37
|
module LogSubscriberInjector
|
37
38
|
%w(info debug warn error fatal unknown).each do |level|
|
38
|
-
define_method(level) do |*args|
|
39
|
+
define_method(level) do |*args, &block|
|
39
40
|
begin
|
40
41
|
Thread.current[:__hb_within_log_subscriber] = true
|
41
|
-
super(*args)
|
42
|
+
super(*args, &block)
|
42
43
|
ensure
|
43
44
|
Thread.current[:__hb_within_log_subscriber] = false
|
44
45
|
end
|
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: 4.5.
|
4
|
+
version: 4.5.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: 2019-08-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|