app/services/importo/revert_service.rb in importo-2.0.5 vs app/services/importo/revert_service.rb in importo-3.0.9
- old
+ new
@@ -4,10 +4,10 @@
class RevertService < ApplicationService
def perform
sleep 1
context.import.importer.revert!
- rescue StandardError
+ rescue
context.import.failure!
context.fail!
end
end
end