From 0e01177cf08f015eb044cb9d28b772eca739ad14 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 18 Jun 2021 11:01:45 -0600 Subject: [PATCH] [Script] Now openfpga flow script output detailed error message when task is not found --- openfpga_flow/scripts/run_fpga_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfpga_flow/scripts/run_fpga_task.py b/openfpga_flow/scripts/run_fpga_task.py index e8543a402..29a584505 100644 --- a/openfpga_flow/scripts/run_fpga_task.py +++ b/openfpga_flow/scripts/run_fpga_task.py @@ -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)