diff --git a/src/actsim_agent/worker.cpp b/src/actsim_agent/worker.cpp index c3b3fde..9fef017 100644 --- a/src/actsim_agent/worker.cpp +++ b/src/actsim_agent/worker.cpp @@ -120,7 +120,7 @@ std::unique_ptr Worker::perform_task(std::unique_ptr& tas if (task->get_content().size() != 1) { std::cerr << "Error: Simulation configuration in worker thread has more than one testcases to run!" << std::endl; finished = false; - return std::make_unique(); + return std::make_unique(task->id, task->source_pass, task->target_artifact, task->design, task->source_config); } auto testcase = task->get_content().front();