From 7871e1619b0eb84c3bda659c52ade7f2108036ee Mon Sep 17 00:00:00 2001 From: Phanes Date: Fri, 1 Dec 2017 21:46:28 -0500 Subject: [PATCH] logic issue being worked, "independent test 1" should be throwing an exception with current settings. Is ignoring the throw call. --- src/loaders/Task.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/loaders/Task.cpp b/src/loaders/Task.cpp index e3ebe17..7157864 100644 --- a/src/loaders/Task.cpp +++ b/src/loaders/Task.cpp @@ -201,19 +201,7 @@ void Task::execute( bool verbose ) std::cout << "\tThis task is required to continue the plan." << std::endl; // but these are NOT executing????? throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); - throw Task_RequiredButFailedTask(); + return; } else { // d[2] no std::cout << "\tThis task is not required to continue the plan." << std::endl;