opbeat 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +8 -1
- data/lib/opbeat/client.rb +5 -1
- data/lib/opbeat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e356fb2b372d206b983bbddfcb9050ab7d093b7c
|
4
|
+
data.tar.gz: eb8b9d89680939500f3445d98fa054b437550e1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e47cce396d2f37eabcae17c6175299d2022cef8a02bc2700cafb4caaa6e442a607605ad111e930d25efeebdbbcd64d30edbaccc86983ab41e34aaa5fb9380547
|
7
|
+
data.tar.gz: c4b60b2125f1b62ee2346842be3142910f02892ba1d30d64e5e4d0525fa16ae834e2d4ac0838cf07000dea8682517cf22b72fdf2ca7b57769b660b4be3ab5572
|
data/HISTORY.md
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
+
# 3.0.2
|
2
|
+
|
3
|
+
**Fixes**
|
4
|
+
|
5
|
+
- Ensure worker is running when reporting errors (@jensnockert)
|
6
|
+
- Increase timeout when closing worker thread and report failure (@jensnockert)
|
7
|
+
|
1
8
|
# 3.0.1
|
2
9
|
|
3
10
|
**Fixes**
|
4
11
|
|
5
|
-
|
12
|
+
- Sidekiq error handler takes two arguments (#10)
|
6
13
|
|
7
14
|
# v3.0.0
|
8
15
|
|
data/lib/opbeat/client.rb
CHANGED
@@ -173,6 +173,8 @@ module Opbeat
|
|
173
173
|
return if config.disable_errors
|
174
174
|
return unless exception
|
175
175
|
|
176
|
+
ensure_worker_running
|
177
|
+
|
176
178
|
unless exception.backtrace
|
177
179
|
exception.set_backtrace caller
|
178
180
|
end
|
@@ -252,7 +254,9 @@ module Opbeat
|
|
252
254
|
def kill_worker
|
253
255
|
return unless worker_running?
|
254
256
|
@queue << Worker::StopMessage.new
|
255
|
-
@worker_thread.join
|
257
|
+
unless @worker_thread.join 5
|
258
|
+
error "Failed to wait for worker, not all messages sent"
|
259
|
+
end
|
256
260
|
@worker_thread = nil
|
257
261
|
end
|
258
262
|
|
data/lib/opbeat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opbeat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikkel Malmberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|