openstax_rescue_from 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openstax/rescue_from.rb +6 -4
- data/lib/openstax/rescue_from/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: 49e68482033617f84c412cfa7eaf6862802ad0640fc85748c31098e8ac77d218
|
4
|
+
data.tar.gz: 85ca040056862e85aabde3a828012ad25288afa8833ecfe825b5ae9621ebb021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70ce04255694b38696755f834fa3a5d01d04e5a28751ba76c8d72423a08b12cd01ee4c3f4594bde736ddbf0d225ab022dbf6700d0f12b8882c516d0d65115725
|
7
|
+
data.tar.gz: 9f7b974e65aad7b2733814c4e4bd269251d0c3d966c701d884be8d2eda6f8f195204268d914272f95704e8d53e84461d5a82bbd5474ef226a26e37ef5b57463e
|
data/lib/openstax/rescue_from.rb
CHANGED
@@ -139,13 +139,15 @@ module OpenStax
|
|
139
139
|
end
|
140
140
|
|
141
141
|
def log_system_error(proxy)
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
142
|
+
return unless notifies_for?(proxy.name)
|
143
|
+
|
144
|
+
logger = Logger.new(proxy)
|
145
|
+
logger.record_system_error!
|
146
146
|
end
|
147
147
|
|
148
148
|
def log_background_system_error(proxy)
|
149
|
+
return unless notifies_for?(proxy.name)
|
150
|
+
|
149
151
|
logger = Logger.new(proxy)
|
150
152
|
logger.record_system_error!('A background job exception occurred')
|
151
153
|
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: 4.
|
4
|
+
version: 4.2.0
|
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: 2021-
|
12
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|