restful_resource_bugsnag 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5364387d5bed8d3251bb4ef6d3b3a46b3db5cf6c
|
|
4
|
+
data.tar.gz: 7a37346c075d9a9b3a87f2ba722dbdf7891ff875
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91747d01b252ebab8c3184e8e6a9bc289c0ebe3cea89ed1eb32edeccd391ea2747bb4d3a73e2a4b1bce1c143b1ca96656c0ff6ece3e73a3aa8ef1badce25f672
|
|
7
|
+
data.tar.gz: 38963a9d1dfc52e97be0833c924d615bbf83bb68cce3fff04302a25d6209a7ac060e9b84198a60032a977f9290a1f995a55e8b27b1b58d7ab450ae07ea449690
|
|
@@ -34,6 +34,11 @@ module RestfulResourceBugsnag
|
|
|
34
34
|
notification.context = "Client error: Service unavailable #{request_host_from_exception exception}"
|
|
35
35
|
notification.grouping_hash = notification.context
|
|
36
36
|
end
|
|
37
|
+
|
|
38
|
+
if exception.is_a?(RestfulResource::HttpClient::Timeout)
|
|
39
|
+
notification.context = "Client error: Timeout #{request_host_from_exception exception}"
|
|
40
|
+
notification.grouping_hash = notification.context
|
|
41
|
+
end
|
|
37
42
|
|
|
38
43
|
@bugsnag.call(notification)
|
|
39
44
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: restful_resource_bugsnag
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mwagg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bugsnag
|
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
142
142
|
version: '0'
|
|
143
143
|
requirements: []
|
|
144
144
|
rubyforge_project:
|
|
145
|
-
rubygems_version: 2.5.
|
|
145
|
+
rubygems_version: 2.5.2
|
|
146
146
|
signing_key:
|
|
147
147
|
specification_version: 4
|
|
148
148
|
summary: A Bugsnag middleware which adds extra details to notifications for RestfulResource
|