summaryrefslogtreecommitdiff
path: root/worker/tests/https.rb
diff options
context:
space:
mode:
Diffstat (limited to 'worker/tests/https.rb')
-rwxr-xr-xworker/tests/https.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/tests/https.rb b/worker/tests/https.rb
index f0e4f4c..49cdcef 100755
--- a/worker/tests/https.rb
+++ b/worker/tests/https.rb
@@ -139,6 +139,9 @@ class HTTPSTest
rescue Timeout::Error => ex
@error = "time out reached"
return false
+ rescue Errno::ECONNREFUSED => ex
+ @error = "Connection refused"
+ return false
rescue => ex
raise ex
return false