Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when ForEach or other ControlActivity expression evaluates to an unexpected type is not clear #103

Closed
arjendev opened this issue May 2, 2024 · 0 comments

Comments

@arjendev
Copy link
Collaborator

arjendev commented May 2, 2024

Whenever a ControlActivities expression is not evaluating to an array (for ForEach, Until etc..), the error is very unclear.

The error shown would be a DataFactoryElementEvaluationError exception with a nested exception that would indicate: TypeError: string indices must be integers, not 'str'. Ideally the exception would be: ForEachExpressionObjectEvaluatedNotToAnArrayError or something more catchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant