Correctly terminate plasp with failure exit code when unhandled exceptions are caught.
This commit is contained in:
parent
22f294493e
commit
591d3fcafd
@ -71,7 +71,7 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
std::cerr << messagePrefix << ": " << exception.what() << std::endl << std::endl;
|
std::cerr << messagePrefix << ": " << exception.what() << std::endl << std::endl;
|
||||||
printHelp();
|
printHelp();
|
||||||
return EXIT_FAILURE;
|
exit(EXIT_FAILURE);
|
||||||
};
|
};
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user