insights-api-common 4.1.4 → 4.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f23ebe490e2b124e093a772ba711f5f93942725df5da610609aacb0619f57194
|
4
|
+
data.tar.gz: bf033da653e5130461d092a06fc5a9b26c9e451e7e900e33a34efaf8338d07e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1abf3875849663909685e77d9d9a2b212bf52a02cf8772e6f30530c96e7b814e28ff167565dfd07908ccbb5bddb50264b6ba6f9b21dce60119ce4ae5291f84a2
|
7
|
+
data.tar.gz: dab5a4c9ee7a93f7f0eaec01befe41367f3799fc1f87bd0a83855f2f12148e7070de15d4d0736969f3201f76c44ff54da711cc959b0d670695c65c41b9ca6a1a
|
@@ -14,7 +14,6 @@ module Insights
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def rescue_from_handler(exception)
|
17
|
-
logger.error("#{exception.class.name}: #{exception.message}\n#{exception.backtrace.join("\n")}")
|
18
17
|
errors = Insights::API::Common::ErrorDocument.new.tap do |error_document|
|
19
18
|
exception_list_from(exception).each do |exc|
|
20
19
|
if api_client_exception?(exc)
|
@@ -57,6 +57,9 @@ module Insights
|
|
57
57
|
self.current = request
|
58
58
|
self.current_request_id = current&.request_id
|
59
59
|
yield current
|
60
|
+
rescue => exception
|
61
|
+
Rails.logger.error("#{exception.class.name}: #{exception.message}\n#{exception.backtrace.join("\n")}")
|
62
|
+
raise
|
60
63
|
ensure
|
61
64
|
self.current = saved
|
62
65
|
self.current_request_id = saved_request_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: insights-api-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Insights Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_tenant
|