swd 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/swd/resource.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/swd/resource.rb
CHANGED
@@ -55,7 +55,7 @@ module SWD
|
|
55
55
|
else
|
56
56
|
raise HttpError.new(e.res.status, e.res.reason, res)
|
57
57
|
end
|
58
|
-
rescue JSON::ParserError, OpenSSL::SSL::SSLError, SocketError, Errno::ECONNREFUSED => e
|
58
|
+
rescue JSON::ParserError, OpenSSL::SSL::SSLError, SocketError, Errno::ECONNREFUSED, Errno::EHOSTUNREACH => e
|
59
59
|
raise Exception.new(e.message)
|
60
60
|
end
|
61
61
|
|