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

Enhance Server-side Error Message on TaskDef Variable Validation #859

Open
diablouma opened this issue Jun 4, 2024 · 0 comments
Open

Enhance Server-side Error Message on TaskDef Variable Validation #859

diablouma opened this issue Jun 4, 2024 · 0 comments
Labels
feature Issue that denotes a new feature, request, or performance improvement. server Affects the core LH Server code.

Comments

@diablouma
Copy link
Contributor

When we are trying to assign a value which type does not match with the defined in the WfSpec we throw this error:

Node 1-save-ds-cluster-on-db-TASK: Input variable 3 needs to be STR but cannot be

From the methid validate on the class TaskNodeModel:
"Input variable " + i + " needs to be " + taskDefVar.getType() + " but cannot be!");

instead of the index, try to log the variable name to improve the UX

@coltmcnealy-lh coltmcnealy-lh changed the title Log variable name instead of index when variable validation fails Enhance Server-side Error Message on TaskDef Variable Validation Nov 1, 2024
@coltmcnealy-lh coltmcnealy-lh added feature Issue that denotes a new feature, request, or performance improvement. server Affects the core LH Server code. labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue that denotes a new feature, request, or performance improvement. server Affects the core LH Server code.
Projects
None yet
Development

No branches or pull requests

2 participants