raygun-apm-rails 1.0.36 → 1.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/Gemfile.lock +2 -2
- data/lib/raygun/apm/rails.rb +0 -1
- data/lib/raygun/apm/rails/middleware.rb +8 -12
- 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: 1e67b0bcb91d871a5391736b9ce6d957cf024b74b7e107aecdaef46656cc59a0
|
4
|
+
data.tar.gz: 72777711d1ca49c42f1fbdb578f3ba0142fba0fc423df4e2b838de360e56e060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8d7b51f640b98c49a7158296c164de52c91902f55ef513ef28d7f591d37f41472cd99c2a4aebe7652f13707c5a2a313c6df686e70086ed8e841f1cb7e9d327
|
7
|
+
data.tar.gz: 57f3f14013a6014dc86763cd75e8a74e6301d6cfe8bc9a3f9bd5603d511a68b6e79e420b739da68f9ec6e407f6f4a2c2c05e583320ed3ba61fa7a65eaf2b0967
|
data/CHANGELOG.rdoc
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
raygun-apm-rails (1.0.
|
4
|
+
raygun-apm-rails (1.0.37)
|
5
5
|
raygun-apm (~> 1.0.44)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
minitest (5.13.0)
|
11
11
|
rake (10.5.0)
|
12
|
-
raygun-apm (1.0.
|
12
|
+
raygun-apm (1.0.46-x86-linux)
|
13
13
|
|
14
14
|
PLATFORMS
|
15
15
|
ruby
|
data/lib/raygun/apm/rails.rb
CHANGED
@@ -29,21 +29,17 @@ module Raygun
|
|
29
29
|
begin
|
30
30
|
res = @app.call(env)
|
31
31
|
if res && (status = res.first) >= 400 && status < 600
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
crash_report_exception(e)
|
38
|
-
end
|
39
|
-
exceptional_http_in_handler(env, status) if @tracer
|
32
|
+
message = Rack::Utils::HTTP_STATUS_CODES[status]
|
33
|
+
begin
|
34
|
+
raise "HTTP #{status} #{message}"
|
35
|
+
rescue => e
|
36
|
+
crash_report_exception(e)
|
40
37
|
end
|
38
|
+
exceptional_http_in_handler(env, status) if @tracer
|
41
39
|
end
|
42
40
|
rescue => e
|
43
|
-
|
44
|
-
|
45
|
-
exceptional_http_in_handler(env, 500) if @tracer
|
46
|
-
end
|
41
|
+
crash_report_exception(e)
|
42
|
+
exceptional_http_in_handler(env, 500) if @tracer
|
47
43
|
exception = e
|
48
44
|
end
|
49
45
|
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.
|
4
|
+
version: 1.0.37
|
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-06-
|
12
|
+
date: 2020-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: raygun-apm
|