[Script] Now openfpga flow script output detailed error message when task is not found

This commit is contained in:
tangxifan 2021-06-18 11:01:45 -06:00
parent a07859b567
commit 0e01177cf0
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def generate_each_task_actions(taskname):
elif os.path.isdir(repo_tasks):
curr_task_dir = repo_tasks
else:
clean_up_and_exit("Task directory [%s] not found" % curr_task_dir)
clean_up_and_exit("Task directory not found" % taskname + " locally at [%s]" % local_tasks + " or in OpenFPGA task directory [%s]" % repo_tasks)
os.chdir(curr_task_dir)