Remove generic std::exception handlers, they don't seem to be adding value, and they hide useful info.

This commit is contained in:
Daniel Patterson
2016-07-19 13:13:52 +02:00
committed by Patrick Niklaus
parent b4710633b1
commit 0b868969be
12 changed files with 18 additions and 89 deletions
+1 -6
View File
@@ -18,7 +18,7 @@
#include <cstdlib>
int main(int argc, const char *argv[]) try
int main(int argc, const char *argv[])
{
if (argc < 2)
{
@@ -78,8 +78,3 @@ int main(int argc, const char *argv[]) try
return EXIT_FAILURE;
}
}
catch (const std::exception &e)
{
std::cerr << "Error: " << e.what() << std::endl;
return EXIT_FAILURE;
}