<#1686 Improve error message for pyflyte-fast-exec...
# flyte-github
a
#1686 Improve error message for pyflyte-fast-execute Pull request opened by pingsutw TL;DR Remove CalledProocessError, and only show user error Before:

image

After:

image

Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Here is an example to reproduce it.
Copy code
from flytekit import task, workflow
import torch

@task
def t1():
    print("helloee")


@workflow
def wf():
    t1()


if __name__ == '__main__':
    wf()
Tracking Issue NA Follow-up issue NA flyteorg/flytekit Codecov: 71.03% (-0.01%) compared to 8437023 29 other checks have passed 29/30 successful checks