summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/custodian/protocoltest/http.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb
index 997f2f9..ac29dbb 100644
--- a/lib/custodian/protocoltest/http.rb
+++ b/lib/custodian/protocoltest/http.rb
@@ -278,6 +278,8 @@ module Custodian
end
end
+ rescue Curl::Err::RecvError => x
+ errors << "#{protocol_msg}: Receive error: #{x.message}."
rescue Curl::Err::SSLCACertificateError => x
errors << "#{protocol_msg}: SSL validation error: #{x.message}."
rescue Curl::Err::TimeoutError, Timeout::Error