app/jobs/bulkrax/importer_job.rb in bulkrax-5.0.0 vs app/jobs/bulkrax/importer_job.rb in bulkrax-5.1.0
- old
+ new
@@ -11,10 +11,10 @@
unzip_imported_file(importer.parser)
import(importer, only_updates_since_last_import)
update_current_run_counters(importer)
schedule(importer) if importer.schedulable?
rescue CSV::MalformedCSVError => e
- importer.status_info(e)
+ importer.set_status_info(e)
end
def import(importer, only_updates_since_last_import)
importer.only_updates = only_updates_since_last_import || false
return unless importer.valid_import?