summaryrefslogtreecommitdiff
path: root/lib/custodian/protocol-tests/http.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 08:27:59 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 08:27:59 +0000
commit582014089a6daa096ed66be6ecb680cbe13a0354 (patch)
treebea89cf37539f3fc22d6f8659bb2ceb159241991 /lib/custodian/protocol-tests/http.rb
parenta9cd5d47be7065eda9b1d17d71d3d3eab454f381 (diff)
Be more consistent about failures.
Diffstat (limited to 'lib/custodian/protocol-tests/http.rb')
-rwxr-xr-xlib/custodian/protocol-tests/http.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/http.rb b/lib/custodian/protocol-tests/http.rb
index 3f2ec8d..67defca 100755
--- a/lib/custodian/protocol-tests/http.rb
+++ b/lib/custodian/protocol-tests/http.rb
@@ -155,9 +155,10 @@ class HTTPTest
@error = "Connection refused"
return false
rescue => ex
- raise ex
+ @error = ex
return false
end
+ @error = "Misc failure"
return false
end