Quietly handle connection failures

Fixes #10
This commit is contained in:
R. Tyler Croy 2017-12-19 16:00:42 -08:00
parent 71a807b958
commit f6d2c9b389
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
require 'concurrent/hash'
require 'faraday'
require 'mini_cache'
require 'net/http'
require 'openssl'
@ -13,6 +14,7 @@ module CodeValet
Errno::EINVAL,
Errno::ECONNRESET,
EOFError,
Faraday::ConnectionFailed,
Net::HTTPBadResponse,
Net::HTTPHeaderSyntaxError,
Net::ProtocolError,