insights-api-common 3.3.0 → 3.3.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0796657d49b1fd235d0d088185d12dd1237eb23e5279527d242cf3e9537cfec9'
|
4
|
+
data.tar.gz: '0532068272482ccd7349b8c3188ef66355c4dc05a57bea79bbedcc1b8482735e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5f094f17a64bef00eea15d2c3a1e6a4fbfcf3344c3a593ef3831e4fa2f5d8616dceb730e6dd358baa9999bb54b2288498f3c2395728a4f7084c45cd485e088b
|
7
|
+
data.tar.gz: 47362dc2058c45118e679e2b3aa844ebf9772e3c056919b61b3adedccbd40cf1880f1b426201e082fb3f2ccc8b46ed19b7cd180d4a7c78ad5ec3193ef20c2f88
|
@@ -7,6 +7,7 @@ module Insights
|
|
7
7
|
|
8
8
|
def self.included(other)
|
9
9
|
other.rescue_from(StandardError, RuntimeError) do |exception|
|
10
|
+
logger.error("#{exception.class.name}: #{exception.message}\n#{exception.backtrace.join("\n")}")
|
10
11
|
errors = Insights::API::Common::ErrorDocument.new.tap do |error_document|
|
11
12
|
exception_list_from(exception).each do |exc|
|
12
13
|
code = exc.respond_to?(:code) ? exc.code : error_code_from_class(exc)
|
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: 3.3.
|
4
|
+
version: 3.3.1
|
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-01-
|
11
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_tenant
|