fixed exception handling for failed dependency checks

This commit is contained in:
Phanes
2017-12-03 21:15:41 -05:00
parent 5f85185e8d
commit 624e3a4a9c
3 changed files with 56 additions and 10 deletions

View File

@@ -23,7 +23,12 @@ int main( )
std::cout << "Ready to execute all tasks in Plan." << std::endl;
plan.execute( verbose );
try {
plan.execute( verbose );
}
catch ( std::exception& e) {
std::cerr << e.what() << std::endl;
}
return 0;
}