openstax_rescue_from 4.0.1 → 4.0.2

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: d89bd4714ebe2bfe99023a6138464592588fbae45721a6bea8c6794f9aa3eb0d
4
- data.tar.gz: cb7d48e7ca41a7621cdbdccf03f2d1462398e4cee209f8e2a977d66ea3316b32
3
+ metadata.gz: 53fd87c21936796f9da1611b6fbd604471bb951343e149f70c38ffbe52c261ac
4
+ data.tar.gz: 8f76e5b4a4909df2d994dd95a5d76682435c0303524b90aa3c303e34a9959b54
5
5
  SHA512:
6
- metadata.gz: 739dee6bb975f12fde17088874758cbfb5101a6a4380477cf15caf92251763e5b74ad98b54e643569de3dd79169ece9af001156f030e83d4c1c97cf83c4c8d2f
7
- data.tar.gz: 516e62f138efa06b5a2cbc42d2de4d0ed7c99fa45616f1d9009bb857108338d82d8841f482c157d97539410c416460494f16827d8bd39073facf217655dbb147
6
+ metadata.gz: 1cb208f9a3c24dadbee74c6bc0af483a652aca813135bfd920fa566345feecdf7ecd73c6443fc14fb58af8df36c334016e3e0eeb05d79daeda379777e5af7f7f
7
+ data.tar.gz: 0db33d90e194ac3c3985fa3dc81c90ae4bf6ea2da7ec18d5e91572b16f2c3bd880550def47a31e06c12a31dc23a5599bbafb893c1c8c5e6186bb47d497e95de8
@@ -32,11 +32,11 @@ module OpenStax
32
32
  end
33
33
 
34
34
  def logger_backtrace
35
- @backtrace ||= exception.backtrace.join("\n")
35
+ @backtrace ||= exception.backtrace&.join("\n")
36
36
  end
37
37
 
38
38
  def first_backtrace_line
39
- @first_backtrace_line ||= exception.backtrace.first
39
+ @first_backtrace_line ||= exception.backtrace&.first
40
40
  end
41
41
 
42
42
  def status
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module RescueFrom
3
- VERSION = '4.0.1'
3
+ VERSION = '4.0.2'
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.0.1
4
+ version: 4.0.2
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: 2019-07-22 00:00:00.000000000 Z
12
+ date: 2019-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
- rubygems_version: 3.0.4
175
+ rubygems_version: 3.0.3
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Common exception `rescue_from` handling for OpenStax sites.