honeybadger 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/backtrace.rb +4 -4
- data/lib/honeybadger/cli/main.rb +1 -1
- data/lib/honeybadger/version.rb +1 -1
- data/lib/honeybadger/worker.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be7d9074b02543453248a4dae419eb0db6acd4180426fa9ffda51d42ad60e0d6
|
4
|
+
data.tar.gz: d1e8d6da03aedc09ed95dec55a547f8085c45339268a355cb472e3f74af2a071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c208b4c42ca10378d529afd8b4b4e2e95c8d04a2338fb484f8e1f24efc751ced52dad0a0580279db90a03e2eb1aa5e3373dada303a6fd8a7062a0ccf4917627
|
7
|
+
data.tar.gz: 2efab3f9ac0db05226b9649556fd3df0623b0e6240d83de87ffc246a7f1dc971825cd4806a6edefe1b754815ea01a7ea3f2617bf160002de138fbe2f8184b68d
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,13 @@ adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [4.2.2] - 2019-04-25
|
9
|
+
### Fixed
|
10
|
+
- Fix a bug where some non-standard backtraces could not be parsed, resulting in
|
11
|
+
an error when sending error reports. Backtraces are now explicitly converted
|
12
|
+
to arrays, and lines are converted to strings.
|
13
|
+
- Fix a typo in throttle log message. -@mobilutz
|
14
|
+
|
8
15
|
## [4.2.1] - 2019-02-01
|
9
16
|
### Fixed
|
10
17
|
- Fix #301 - before_notify hooks are overridden on subsequent
|
@@ -114,10 +114,10 @@ module Honeybadger
|
|
114
114
|
attr_reader :lines, :application_lines
|
115
115
|
|
116
116
|
def self.parse(ruby_backtrace, opts = {})
|
117
|
-
ruby_lines = split_multiline_backtrace(ruby_backtrace)
|
117
|
+
ruby_lines = split_multiline_backtrace(ruby_backtrace.to_a)
|
118
118
|
|
119
119
|
lines = ruby_lines.collect do |unparsed_line|
|
120
|
-
Line.parse(unparsed_line, opts)
|
120
|
+
Line.parse(unparsed_line.to_s, opts)
|
121
121
|
end.compact
|
122
122
|
|
123
123
|
instance = new(lines)
|
@@ -171,8 +171,8 @@ module Honeybadger
|
|
171
171
|
attr_writer :lines, :application_lines
|
172
172
|
|
173
173
|
def self.split_multiline_backtrace(backtrace)
|
174
|
-
if backtrace.
|
175
|
-
backtrace.
|
174
|
+
if backtrace.size == 1
|
175
|
+
backtrace.first.to_s.split(/\n\s*/)
|
176
176
|
else
|
177
177
|
backtrace
|
178
178
|
end
|
data/lib/honeybadger/cli/main.rb
CHANGED
@@ -90,7 +90,7 @@ WELCOME
|
|
90
90
|
option :message, required: true, type: :string, aliases: :'-m', desc: 'The error message.'
|
91
91
|
option :action, required: false, type: :string, aliases: :'-a', desc: 'The action.'
|
92
92
|
option :component, required: false, type: :string, aliases: :'-C', desc: 'The component.'
|
93
|
-
option :fingerprint, required: false, type: :string, aliases: :'-f', desc: 'The
|
93
|
+
option :fingerprint, required: false, type: :string, aliases: :'-f', desc: 'The fingerprint.'
|
94
94
|
option :tags, required: false, type: :string, aliases: :'-t', desc: 'The tags.'
|
95
95
|
option :url, required: false, type: :string, aliases: :'-u', desc: 'The URL.'
|
96
96
|
def notify
|
data/lib/honeybadger/version.rb
CHANGED
data/lib/honeybadger/worker.rb
CHANGED
@@ -202,7 +202,7 @@ module Honeybadger
|
|
202
202
|
|
203
203
|
case response.code
|
204
204
|
when 429, 503
|
205
|
-
warn { sprintf('Error report failed: project is sending too many errors. id=%s code=%s throttle=1.25 interval=%s', msg.id,
|
205
|
+
warn { sprintf('Error report failed: project is sending too many errors. id=%s code=%s throttle=1.25 interval=%s', msg.id, response.code, throttle_interval) }
|
206
206
|
add_throttle(1.25)
|
207
207
|
when 402
|
208
208
|
warn { sprintf('Error report failed: payment is required. id=%s code=%s', msg.id, response.code) }
|
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.2.
|
4
|
+
version: 4.2.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: 2019-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Make managing application errors a more pleasant experience.
|
14
14
|
email:
|
@@ -142,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
|
146
|
-
rubygems_version: 2.7.6
|
145
|
+
rubygems_version: 3.0.3
|
147
146
|
signing_key:
|
148
147
|
specification_version: 4
|
149
148
|
summary: Error reports you can be happy about.
|