Catch panics in StepFunction.Run and return them as errors

Wraps the step function invocation in safelyInvoke, which recovers from any panic and returns it as an error instead of crashing the step-runner.

Changes

  • Added safelyInvoke helper that wraps a runner.StepFunc call with panic recovery
  • Added test covering the panic case

Pilot runners: Error response from daemon: cont... (#413 - closed)

Edited by Cameron Swords

Merge request reports

Loading