lib/dirty_pipeline/base.rb in dirty_pipeline-0.6.2 vs lib/dirty_pipeline/base.rb in dirty_pipeline-0.6.3
- old
+ new
@@ -162,10 +162,9 @@
def find_subject_args
subject.id
end
def Failure(event, cause, type:)
- railway.switch_to(:undo)
event.failure!
@status = Status.failure(cause, tag: type)
end
def Success(event, changes, destination)