acoustic-carpenter-78188
01/27/2024, 11:19 PMTraceback (most recent call last):
File "flytekit/exceptions/scopes.py", line 206, in user_entry_point
return wrapped(*args, **kwargs)
File "<file.py>", line 158, in <task>
dictionary[variable](**kwargs)
Message:
''
User error.
(This is a redacted version of a real error message we've seen on flyte)
This is confusing because its missing KeyError
. Initially I was thinking there was some bug causing us to only get half a traceback.
Goal: What should the final outcome look like, ideally?
The example traceback from above should look something like this:
Traceback (most recent call last):
File "flytekit/exceptions/scopes.py", line 206, in user_entry_point
return wrapped(*args, **kwargs)
File "<file.py>", line 158, in <task>
dictionary[variable](**kwargs)
Message:
KeyError: ''
User error.
Describe alternatives you've considered
Exact formatting of the message is open for debate but I can't think of any convenient alternative to know that this example was a KeyError
.
Propose: Link/Inline OR Additional context
I can make a PR.
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
01/27/2024, 11:19 PM