Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing redundant ServiceLoginError.

  • Loading branch information...
commit 630b49efc6c316806a60ba43e614cf452d3d3324 1 parent a2cd01d
@jqr jqr authored
Showing with 0 additions and 2 deletions.
  1. +0 −1  lib/snitch.rb
  2. +0 −1  lib/snitch/services/campfire.rb
View
1  lib/snitch.rb
@@ -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]
View
1  lib/snitch/services/campfire.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.