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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9163a3a8cb7a7a6baad57ca29a8d81e7ad0364babd83c49effa32a2bb9e2b3d3
4
- data.tar.gz: 3bb60e52fa77a815c6b28b66bffcc43b6b7199d69fdf4813958710ae2f2df6c6
3
+ metadata.gz: 49e68482033617f84c412cfa7eaf6862802ad0640fc85748c31098e8ac77d218
4
+ data.tar.gz: 85ca040056862e85aabde3a828012ad25288afa8833ecfe825b5ae9621ebb021
5
5
  SHA512:
6
- metadata.gz: 64f22d8daaf77a2e3a2aa118a329939bbe5e309ab5f30f0f6b7e72a28ee6204e6569009b47c50687bc9907f45649385369ef8e7b2fff5945c89a6767f912d2c8
7
- data.tar.gz: b36c2d0ae5250ff5c2d302721533d80517975b9048ade2bd616fb01fd19eb09cea7c7f2c19fbb1dd79b496d3105d51e0e2c689dc9d1f65a4868b1c3fc2257e5f
6
+ metadata.gz: 70ce04255694b38696755f834fa3a5d01d04e5a28751ba76c8d72423a08b12cd01ee4c3f4594bde736ddbf0d225ab022dbf6700d0f12b8882c516d0d65115725
7
+ data.tar.gz: 9f7b974e65aad7b2733814c4e4bd269251d0c3d966c701d884be8d2eda6f8f195204268d914272f95704e8d53e84461d5a82bbd5474ef226a26e37ef5b57463e
@@ -139,13 +139,15 @@ module OpenStax
139
139
  end
140
140
 
141
141
  def log_system_error(proxy)
142
- if notifies_for?(proxy.name)
143
- logger = Logger.new(proxy)
144
- logger.record_system_error!
145
- end
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
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module RescueFrom
3
- VERSION = '4.1.0'
3
+ VERSION = '4.2.0'
4
4
  end
5
5
  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.1.0
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-02-01 00:00:00.000000000 Z
12
+ date: 2021-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails