lib/geoblacklight/download.rb in geoblacklight-4.0.0.pre.rc2 vs lib/geoblacklight/download.rb in geoblacklight-4.0.0.pre.rc3

- old
+ new

@@ -46,10 +46,10 @@ file.write download.body end File.rename("#{file_path_and_name}.tmp", file_path_and_name) file_name rescue Geoblacklight::Exceptions::WrongDownloadFormat => error - Geoblacklight.logger.error "#{error} expected #{@options[:content_type]} "\ + Geoblacklight.logger.error "#{error} expected #{@options[:content_type]} " \ "received #{download.headers['content-type']}" File.delete("#{file_path_and_name}.tmp") raise Geoblacklight::Exceptions::ExternalDownloadFailed, message: 'Wrong download type' end