openstax_rescue_from 2.0.0 → 2.0.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 852b1a3ad1e57449234029b6854de07b895f2938
|
4
|
+
data.tar.gz: 5ba86b4744e24377f1fd7bae8d8f4b4835124917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4e4171380854d6ecc65985e1853cc2b495ac97dee96008c4b00b443f362a4ced5f97f1f55d949b3c64f00c39925a00db1ba2c3f640b52bc1f6094fbc47b0436
|
7
|
+
data.tar.gz: d7df25cb30b713ff98564d84c18b3088a0aacc19f9fa4c3c897ffda24b2b863ef6b8e72829e1b910cf06d7267807b59e45d6057ad3c29b5c7473918369d53f37
|
@@ -28,11 +28,7 @@ module OpenStax
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def cause
|
31
|
-
@cause ||= if exception.respond_to?(:cause)
|
32
|
-
ExceptionCauseProxy.new(exception.cause)
|
33
|
-
else
|
34
|
-
nil
|
35
|
-
end
|
31
|
+
@cause ||= exception.cause if exception.respond_to?(:cause)
|
36
32
|
end
|
37
33
|
|
38
34
|
def logger_backtrace
|
@@ -20,7 +20,7 @@ module OpenStax
|
|
20
20
|
def record_system_error_recursively!
|
21
21
|
if exception_proxy.cause
|
22
22
|
RescueFrom.register_exception(exception_proxy.cause.class)
|
23
|
-
@exception_proxy =
|
23
|
+
@exception_proxy = ExceptionCauseProxy.new(exception_proxy.cause)
|
24
24
|
record_system_error!("Exception cause")
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_rescue_from
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|