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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa843c61f97b720b0f89133b9806c380d0caff68dc4c7a98a3b9abedace997a0
4
- data.tar.gz: a6e5b51687c63724663631d72bbe2cdeee90fe26903a2ba76c966dd51c5f58d6
3
+ metadata.gz: 77b2cb6b362699a84104a6482f78b07e048cfe4078f6e9c8bb4c3ccb3f68790d
4
+ data.tar.gz: 87841e971bf4b9c11bd307425d3a4c3fcd8a64c3146ecf6d5da31c8f21f507ce
5
5
  SHA512:
6
- metadata.gz: 30ae06cf536f9aed5c1f830084ec857144fa5c5a8d3472e7c82ed354341805e0853c1806685b0064c34742deb6a492d2f8d1b3502e6fbcbccd4391890fa21961
7
- data.tar.gz: 159f16c3fbd53c209ca1280af64db92bfe57fee0264a27288281decc4471d6b068e8e4937af4da42d32ee3142af09251169275f811e38e683bdd42c21107dee1
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
- Raygun.track_exception(exception, correlation_id: exception.instance_variable_get(:@__raygun_correlation_id))
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
 
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.0.56"
4
+ VERSION = "1.0.57"
5
5
  end
6
6
  end
7
7
  end
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.56
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: 2020-10-20 00:00:00.000000000 Z
12
+ date: 2021-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: raygun-apm