diff --git a/app/workers/ons_download_worker.rb b/app/workers/ons_download_worker.rb index 324c029..b18fd7e 100644 --- a/app/workers/ons_download_worker.rb +++ b/app/workers/ons_download_worker.rb @@ -30,7 +30,7 @@ def perform(url) ) # TODO: check response.etag (if false, upload failed somehow?) # TODO: Kick off OnsImportWorker for the file - # OnsImportWorker.perform_async(s3_key_name) + # OnsImportWorker.new.perform_async(s3_key_name) puts "Added #{entry.name} to S3 bucket as #{s3_key_name}" rescue StandardError => e puts "Error extracting and uploading object #{e.message}"