Skip to content
Snippets Groups Projects

Don't throw std::exception but print message and exit

Merged Christoph Grüninger requested to merge feature/adjust-exception-handling into master
+ 18
9
Compare changes
  • Side-by-side
  • Inline
Files
@@ -52,7 +52,8 @@ int main (int argc, char** argv)
}
catch (std::exception& e)
{
throw;
std::cout << "ERROR: " << e.what() << std::endl;
return 1;
}
catch (...)
{
Loading