airbrake 9.4.2 → 9.4.3

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
  SHA1:
3
- metadata.gz: 9b1a464954b87f553c38390071a1303fdceb5685
4
- data.tar.gz: '0783aa316473e43d0f71a9962e0f8fac89cc1092'
3
+ metadata.gz: fe9037ca230b5a680582dff789221db846fd346e
4
+ data.tar.gz: 6471b5f85ac64b3031aeca6c9f7d4a37a437496e
5
5
  SHA512:
6
- metadata.gz: 4b10df6a1026885ad9770e6b9e594575356cd0c2d0dbd15aa775ab0ac67c6a079749bf2dbcacce5405ba5cc341481b0ef84a172e6654a3db893476b2326466ee
7
- data.tar.gz: 5426af26c8efde7f68b519e3ad7b151291b897fa8d6503c408b0e6c8bcca699554e80e7319ee7afb908a3fd2fd1390d2d59f31f78e1dfe04043d8eb8a26633de
6
+ metadata.gz: 503a6f588f31ac85581e4b9906614941a8680f3b45ac7b7e1da5d115c3064e116debb15c55e5e68f9d4daf46f419804f90cb0a931b1d9eb8b5bfef644a8f2cd7
7
+ data.tar.gz: ae3d0ebc69c627c5df4a69f83fb96ec9be1dfcd88e883adeacf63ea516f56f7623d78862666f8a1e92df278265b3c8454e9f33f0a0548dc49a4b20124471a653
@@ -66,11 +66,13 @@ module Airbrake
66
66
  return status
67
67
  end
68
68
 
69
- logger.error do
70
- "#{Airbrake::LOG_LABEL} unknown status code for: #{@event.payload}"
71
- end
72
-
73
- 0
69
+ # The ActiveSupport event doesn't have status only in two cases:
70
+ # - an exception was thrown
71
+ # - unauthorized access
72
+ # We have already handled the exception so what's left is unauthorized
73
+ # access. There's no way to know for sure it's unauthorized access, so
74
+ # we are rather optimistic here.
75
+ 401
74
76
  end
75
77
 
76
78
  def duration
@@ -1,5 +1,5 @@
1
1
  # We use Semantic Versioning v2.0.0
2
2
  # More information: http://semver.org/
3
3
  module Airbrake
4
- AIRBRAKE_VERSION = '9.4.2'.freeze
4
+ AIRBRAKE_VERSION = '9.4.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.4.2
4
+ version: 9.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airbrake Technologies, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: airbrake-ruby