summaryrefslogtreecommitdiff
path: root/lib/nickserver/nicknym/source.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-22 11:31:01 +0200
committerAzul <azul@riseup.net>2016-09-22 11:31:01 +0200
commit1202e3b03c3bb88cd3a63dae3866167564f1d25d (patch)
tree5907eb5386d1113ab4d0a91fc8d14bcdd63ea3d7 /lib/nickserver/nicknym/source.rb
parent48cdd4b1ee0685674aa998d4daa295656d80ead3 (diff)
hand on connection errors to dispatcher so it can handle it
Diffstat (limited to 'lib/nickserver/nicknym/source.rb')
-rw-r--r--lib/nickserver/nicknym/source.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/nickserver/nicknym/source.rb b/lib/nickserver/nicknym/source.rb
index 0638869..45daeaf 100644
--- a/lib/nickserver/nicknym/source.rb
+++ b/lib/nickserver/nicknym/source.rb
@@ -8,8 +8,6 @@ module Nickserver
def available_for?(domain)
status, body = adapter.get "https://#{domain}/provider.json"
status == 200 && provider_with_mx?(body)
- rescue HTTP::ConnectionError
- return false
end
def query(email)