acoustic-carpenter-78188
05/17/2023, 9:20 AMTypeError: MyException.__init__() missing 1 required positional argument: 'foo'
from flytekit import task
class MyException(Exception):
def __init__(self, message, foo):
pass
@task
def fail_task():
raise MyException("a", "b")
if __name__ == "__main__":
fail_task()
instead of correctly propagating the Exception
Expected behavior
The Exception should be propagated correctly
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte