Kaydet (Commit) f36c2939 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1338254 Uncaught exception

Change-Id: Ie7cf971b3d0c67f33a1b82ff12a8e25506bf0cd0
üst e460c11f
...@@ -98,10 +98,14 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { ...@@ -98,10 +98,14 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
<< "ERROR: Bad format of <" << e.getUri() << ">, \"" << "ERROR: Bad format of <" << e.getUri() << ">, \""
<< e.getDetail() << "\"\n"; << e.getDetail() << "\"\n";
return EXIT_FAILURE; return EXIT_FAILURE;
} catch (IllegalArgument & e) { } catch (IllegalArgument& e) {
std::cerr << "Illegal option " << e.m_message << '\n'; std::cerr << "Illegal option " << e.m_message << '\n';
return EXIT_FAILURE; return EXIT_FAILURE;
} catch (std::exception& e) {
std::cerr << "Failure " << e.what() << '\n';
return EXIT_FAILURE;
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment