Skip to content

Commit

Permalink
rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hardy committed Jul 20, 2016
1 parent a3dd641 commit ffef664
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Was
module ThumbnailService
module Synchronization
class MementoDatabaseHandler

def initialize(uri_id, memento_uri, memento_datetime)
@uri_id = uri_id
@memento_uri = memento_uri
Expand Down Expand Up @@ -57,7 +56,7 @@ def download_memento_text
# NOTE: if the url gives a 302 to the original, non-wayback url, then who is to say that page still is extant?
# and then the 302 becomes a 404, which blows up here.
rescue RestClient::Exception => e
raise "RestClient error in downloading memento text from #{memento_uri_unwritten}.\n#{e.inspect}\nHTTP Status code: #{e.http_code}\n#{e.backtrace.join(%Q{\n})}"
raise "RestClient error in downloading memento text from #{memento_uri_unwritten}.\n#{e.inspect}\nHTTP Status code: #{e.http_code}\n#{e.backtrace.join(%(\n))}"
end
end
end
Expand Down

0 comments on commit ffef664

Please sign in to comment.