app/services/importo/import_service.rb in importo-2.0.5 vs app/services/importo/import_service.rb in importo-3.0.9

- old
+ new

@@ -1,14 +1,12 @@ # frozen_string_literal: true module Importo class ImportService < ApplicationService def perform - sleep 1 - context.import.import! context.import.importer.import! - rescue StandardError + rescue context.import.failure! context.fail! end end end