webspicy 0.15.0.pre.rc1 → 0.15.0.pre.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/restful/Gemfile.lock +1 -1
- data/lib/webspicy/resource/service/invocation.rb +5 -2
- data/lib/webspicy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a1f3616fdd2fca569a6d93f4f36fd54cc36d30ddd048a402b4c63d8ada790b7
|
4
|
+
data.tar.gz: cc729bf194561f90306074b31575a32e6b8b60408b20d5669b7646e66cf410b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47770374f2fbfa34f2ed4317f2b9956d25a09753ef257c0148ad53dd0b7fd37aae7463750df554f6999b7b31285cfe914b44d50db4de1343e5ae22511d6165af
|
7
|
+
data.tar.gz: a8ccca7ac1b998e0da24b167b7ae3cf75bb42c0b2ce4c33d50abe3efc7de566bca24d3ec095dcbcc23ef243c607d7b7c4e9b003df2cea30df5ed31bcc2bc96e1
|
@@ -80,8 +80,11 @@ module Webspicy
|
|
80
80
|
elsif is_redirect?
|
81
81
|
else
|
82
82
|
case dressed_body
|
83
|
-
when Finitio::TypeError
|
84
|
-
|
83
|
+
when Finitio::TypeError
|
84
|
+
rc = dressed_body.root_cause
|
85
|
+
"#{rc.message} (#{rc.location ? rc.location : 'unknown location'})"
|
86
|
+
when StandardError
|
87
|
+
dressed_body.message
|
85
88
|
else nil
|
86
89
|
end
|
87
90
|
end
|
data/lib/webspicy/version.rb
CHANGED