-
Notifications
You must be signed in to change notification settings - Fork 671
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
[BUG] Non-descriptive error messages #1423
Comments
@vsbus we can definitely highlight the variable name in the error message and in most cases improve the message. But there are some cases in which we cannot do so, until we implement #1363. As Currently flytekit is more expressive in types than Flyte itself and this causes some type-erasure. But as you can see, we will work on 1363 and that should improve the error messaging - even in case of directly using FlyteRemote |
@georgesnelling yup, that's the plan |
I have a PR in progress |
Splitting fixes makes sense. Incremental improvements totally make sense and good for our use case. |
Describe the bug
I had been spending quite a bit of time debugging issues with types in the last weeks. It would be super-super helpful if error messages include names of the parameters that are causing issues. Often we try to guess the bad parameter but suspect a wrong thing and spending a lot of time trying to fix a wrong path. If error messages point to the concerning parameter / function / wf then in most cases application users will be able to debug and fix not escalating to infra team.
e.g.
was an issue with parameter of type
dict
e.g.2
was an issue with FlyteContext and not any of parameters (but we spend a few days assuming a user messed up with one of FlyteFile args)
Expected behavior
error log should contain more precise pointers, like
dict
instead ofSTRUCT
b/cdict
is actually used in the user codeSlack discussion: https://flyte-org.slack.com/archives/CREL4QVAQ/p1630645366078600
[Optional] Additional context
To Reproduce
Steps to reproduce the behavior:
1.
2.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: