raygun-apm-sidekiq 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/apm/sidekiq/middleware.rb +2 -2
- data/lib/raygun/apm/sidekiq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f808eac26f114c7413ec2b473ffb3db42cccc72b4643213d56964059028894b9
|
4
|
+
data.tar.gz: 5e49226c8cd4478ce43d571bb97fc2a8fb0247d194a18fbae12401954ec8b83c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a502c487ba837666a46f70462b2ec5585b40ac53a581ec055e53813f4ce21231bf6452082dfe71d0bd16b8bc1db4311bdc0ab740f3f9867566dfcad3178b069d
|
7
|
+
data.tar.gz: 198e763f627efa1a1a4989270cab907c85b090800497fe3148c1460e510cd5b14e56add1dc41fd4b81c1f7d8337c6f6a41b7a4f168a7718e33c3df99c0cd8dec
|
@@ -52,7 +52,7 @@ module Raygun
|
|
52
52
|
# Let the GC clean up the sink thread through the finalizer below
|
53
53
|
@tracer = nil
|
54
54
|
Thread.current.thread_variable_set(:_raygun_apm_tracer, nil)
|
55
|
-
unless (Raygun::Apm::FatalError === exception)
|
55
|
+
raise(exception) unless (Raygun::Apm::FatalError === exception)
|
56
56
|
end
|
57
57
|
|
58
58
|
def fake_http_in_handler(started, worker_instance, msg, queue, exception)
|
@@ -64,7 +64,7 @@ module Raygun
|
|
64
64
|
event[:timestamp] = @tracer.now
|
65
65
|
event[:tid] = @tracer.get_thread_id(Thread.current)
|
66
66
|
@tracer.emit(event)
|
67
|
-
|
67
|
+
raise(exception) if exception
|
68
68
|
rescue => e
|
69
69
|
warn "[Raygun APM] error reporting HTTP IN event"
|
70
70
|
raygun_shutdown_handler(e)
|