func()

in step_instance.go [70:83]


func (si *StepInstance[T]) EnrichContext(ctx context.Context) (result context.Context) {
	result = ctx
	if si.Definition.executionOptions.ContextPolicy != nil {
		// TODO: bubble up the error somehow
		defer func() {
			if r := recover(); r != nil {
				fmt.Println("Recovered in EnrichContext", r)
			}
		}()
		result = si.Definition.executionOptions.ContextPolicy(ctx, si)
	}

	return result
}