Permalink
Browse files

Removing redundant ServiceLoginError.

  • Loading branch information...
1 parent a2cd01d commit 630b49efc6c316806a60ba43e614cf452d3d3324 @jqr jqr committed Aug 29, 2008
Showing with 0 additions and 2 deletions.
  1. +0 −1 lib/snitch.rb
  2. +0 −1 lib/snitch/services/campfire.rb
View
@@ -16,7 +16,6 @@ class Snitch
attr_reader :services, :config
class ConfigFileLoadError < StandardError; end
- class ServiceLoginError < StandardError; end
def initialize(repository, revision, options)
config_file = options[:config_file]
@@ -7,7 +7,6 @@ class Campfire < Service
def connection
connection = ::Tinder::Campfire.new(subdomain)
connection.login(login, password)
- raise ServiceLoginError, "Login to Campfire failed" unless connection.logged_in?
connection.find_or_create_room_by_name(room)
end

0 comments on commit 630b49e

Please sign in to comment.