bin/hudson in hudson-0.3.0.beta.12 vs bin/hudson in hudson-0.3.0.beta.13

- old
+ new

@@ -2,6 +2,10 @@ require 'rubygems' $:.unshift(File.expand_path(File.dirname(File.dirname(__FILE__) + "/../lib/hudson.rb"))) require File.expand_path(File.dirname(__FILE__) + '/../lib/hudson') require 'hudson/cli' -Hudson::CLI.start +begin + Hudson::CLI.start +rescue Errno::ECONNREFUSED, Errno::EAFNOSUPPORT + Hudson::CLI.new.shell.say "No connection available to server.", :red +end