16int main(
int argc,
char* argv[]) {
17 int ret = EXIT_SUCCESS;
26 ret = controller->launch(argc, argv,
false);
28 std::string msg(ex.what());
30 std::cout << msg << std::endl;
33 std::string msg(ex.what());
35 std::cerr << msg << std::endl;
38 }
catch (
const std::exception& ex) {
39 std::cerr <<
"Service failed: " << ex.what() << std::endl;
42 std::cerr <<
"Service failed" << std::endl;
int main(int argc, char *argv[])