influence 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/influencer +3 -1
- data/influence.gem +1 -1
- metadata +1 -1
data/bin/influencer
CHANGED
|
@@ -33,11 +33,13 @@ module Influence
|
|
|
33
33
|
rescue Errno::ECONNREFUSED => err
|
|
34
34
|
puts "Could not connect to #{@host}:#{@port}. Check that the influence server is running with 'influence_server status'."
|
|
35
35
|
puts err if $DEBUG
|
|
36
|
+
rescue SocketError => err
|
|
37
|
+
puts "Cannot resolve host address #{@host}. Check host name or address."
|
|
38
|
+
puts err if $DEBUG
|
|
36
39
|
end
|
|
37
40
|
end#class
|
|
38
41
|
end#module
|
|
39
42
|
|
|
40
|
-
|
|
41
43
|
if '-h' == ARGV[0] || '-help' == ARGV[0] || '--help' == ARGV[0]
|
|
42
44
|
puts "Usage: influencer [host] [port]"
|
|
43
45
|
else
|
data/influence.gem
CHANGED