Recently in an app I work on, someone deleted a step but didn't update all our goToStep usages causing our app to try to go to a step that no longer exists. We have since taken some mitigation steps to avoid this from happening again but it would be helpful if our exception monitoring also caught invalid usages.
This PR adds an optional param that defaults to the existing functionality
Hi!
Recently in an app I work on, someone deleted a step but didn't update all our
goToStep
usages causing our app to try to go to a step that no longer exists. We have since taken some mitigation steps to avoid this from happening again but it would be helpful if our exception monitoring also caught invalid usages.This PR adds an optional param that defaults to the existing functionality