Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
remove instrument log on address error
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurnn committed Sep 27, 2013
1 parent 1a5edba commit 0c6c261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moped/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def resolve(node)
@ip ||= Socket.getaddrinfo(host, nil, Socket::AF_INET, Socket::SOCK_STREAM).first[3]
@resolved ||= "#{ip}:#{port}"
rescue SocketError => e
node.instrument(Node::WARN, prefix: " MOPED:", message: "Could not resolve IP for: #{original}")
Loggable.warn(" MOPED:", "Could not resolve IP for: #{original}", "n/a")
node.down! and false
end
end
Expand Down

0 comments on commit 0c6c261

Please sign in to comment.