diff --git a/src/solver/modeler/main.cpp b/src/solver/modeler/main.cpp index a99096e331..ba93687e92 100644 --- a/src/solver/modeler/main.cpp +++ b/src/solver/modeler/main.cpp @@ -54,6 +54,12 @@ int main(int argc, const char** argv) logs.error() << "Error while loading files, exiting"; return EXIT_FAILURE; } + catch (const std::exception& e) + { + logs.error() << e.what(); + logs.error() << "Error during the execution, exiting"; + return EXIT_FAILURE; + } return 0; }