Fix uncaught exepction.
Change-Id: Iaecd4303cbdc18e848b614e3df8520ee05a85b9b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(cherry picked from commit
7335f169e18a7b152b4390a4da19400a726c897e)
}
}
bpo::notify(opt_map);
+
+ if (req_type == ReqType::UNKNOWN_REQ) {
+ std::cerr << options << std::endl;
+ return 0;
+ }
} catch (...) {
std::cerr << "Exception occurred: "
<< boost::current_exception_diagnostic_information()
return -1;
}
- if (req_type == ReqType::UNKNOWN_REQ) {
- std::cerr << options << std::endl;
- return 0;
- }
-
try {
char buf[10][kBufSize] = { 0, };
std::vector<char *> gtest_argv;