lib/floe/workflow/states/fail.rb in floe-0.2.1 vs lib/floe/workflow/states/fail.rb in floe-0.2.2

- old
+ new

@@ -9,24 +9,14 @@ def initialize(workflow, name, payload) super @cause = payload["Cause"] @error = payload["Error"] + @end = true end def run!(input) - logger.info("Running state: [#{name}] with input [#{input}]") - - next_state = nil - output = input - - logger.info("Running state: [#{name}] with input [#{input}]...Complete - next state: [#{next_state&.name}]") - - [next_state, output] - end - - def end? - true + [nil, input] end def status "errored" end