raygun-apm-rails 1.0.56 → 1.0.57
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/rails/middleware.rb +4 -3
- data/lib/raygun/apm/rails/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: 77b2cb6b362699a84104a6482f78b07e048cfe4078f6e9c8bb4c3ccb3f68790d
|
4
|
+
data.tar.gz: 87841e971bf4b9c11bd307425d3a4c3fcd8a64c3146ecf6d5da31c8f21f507ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f08c270b6bb5d837f582a17f64750839042a38218895ae842f7541e18563893703ace59900c7ba6faf6cc9a030a523f19c9c11a8c8c8e9efaca11a8dc2bc51f
|
7
|
+
data.tar.gz: daaa001d451f0f7d01c8133021ff1735a645324f55aabb1b1108252f9d1a8bd48a4593e2037e7709832d5d3b18340e9089f8691ed78dd4e10c6d1c44333c2b99
|
@@ -36,7 +36,7 @@ module Raygun
|
|
36
36
|
begin
|
37
37
|
res = @app.call(env)
|
38
38
|
rescue => e
|
39
|
-
crash_report_exception(e)
|
39
|
+
crash_report_exception(e, env)
|
40
40
|
exceptional_http_in_handler(env) if @tracer
|
41
41
|
exception = e
|
42
42
|
end
|
@@ -183,9 +183,10 @@ module Raygun
|
|
183
183
|
yield
|
184
184
|
end
|
185
185
|
|
186
|
-
def crash_report_exception(exception)
|
186
|
+
def crash_report_exception(exception, env = {})
|
187
187
|
if Raygun::Apm::Rails.raygun4ruby?
|
188
|
-
|
188
|
+
env.merge!(correlation_id: exception.instance_variable_get(:@__raygun_correlation_id))
|
189
|
+
Raygun.track_exception(exception, env)
|
189
190
|
end
|
190
191
|
end
|
191
192
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.57
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: raygun-apm
|