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: da2971d677179e25efdc36b9245fe1d5e4dcd07b42bcdeafeb2846062f391743
4
- data.tar.gz: 39b39f8c75fc408e738e322364002f83b647f6f765549dc42174c503d586188b
3
+ metadata.gz: '0796657d49b1fd235d0d088185d12dd1237eb23e5279527d242cf3e9537cfec9'
4
+ data.tar.gz: '0532068272482ccd7349b8c3188ef66355c4dc05a57bea79bbedcc1b8482735e'
5
5
  SHA512:
6
- metadata.gz: e1e5bc1164c938a7a73d3495ee94c51aa5cd755e62e35df07d39a281d93e268c9208ca493b65c83b6d7f092dbb0e751bc8fcd9b57d7b06d42ab7441ccb45de64
7
- data.tar.gz: bcdc2de2bcc124218fab98fef61c5eeb81b93c5550ac55eae4b3cc2f4c7cea3fa984b594426810ecec7269c82b0791c779b58946dbb48745010407383007b094
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)
@@ -1,7 +1,7 @@
1
1
  module Insights
2
2
  module API
3
3
  module Common
4
- VERSION = "3.3.0".freeze
4
+ VERSION = "3.3.1".freeze
5
5
  end
6
6
  end
7
7
  end
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.0
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-09 00:00:00.000000000 Z
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