Skip to content

Commit

Permalink
Removing redundant ServiceLoginError.
Browse files Browse the repository at this point in the history
  • Loading branch information
jqr committed Aug 29, 2008
1 parent a2cd01d commit 630b49e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/snitch.rb
Expand Up @@ -16,7 +16,6 @@ class Snitch
attr_reader :services, :config attr_reader :services, :config


class ConfigFileLoadError < StandardError; end class ConfigFileLoadError < StandardError; end
class ServiceLoginError < StandardError; end


def initialize(repository, revision, options) def initialize(repository, revision, options)
config_file = options[:config_file] config_file = options[:config_file]
Expand Down
1 change: 0 additions & 1 deletion lib/snitch/services/campfire.rb
Expand Up @@ -7,7 +7,6 @@ class Campfire < Service
def connection def connection
connection = ::Tinder::Campfire.new(subdomain) connection = ::Tinder::Campfire.new(subdomain)
connection.login(login, password) connection.login(login, password)
raise ServiceLoginError, "Login to Campfire failed" unless connection.logged_in?
connection.find_or_create_room_by_name(room) connection.find_or_create_room_by_name(room)
end end


Expand Down

0 comments on commit 630b49e

Please sign in to comment.