about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/lib/request.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lib/request.rb b/app/lib/request.rb
index bb6ef4661..024fce88a 100644
--- a/app/lib/request.rb
+++ b/app/lib/request.rb
@@ -163,7 +163,11 @@ class Request
           end
         end
 
-        raise outer_e if outer_e
+        if outer_e
+          raise outer_e
+        else
+          raise SocketError, "No address for #{host}"
+        end
       end
 
       alias new open