diff --git a/flow/flow.cpp b/flow/flow.cpp index 061727c80..32406e531 100644 --- a/flow/flow.cpp +++ b/flow/flow.cpp @@ -296,7 +296,7 @@ int main(int argc, char** argv) std::cerr << "Failed to create valid EclipseState object." << std::endl; std::cerr << "Exception caught: " << e.what() << std::endl; } - throw; + return EXIT_FAILURE; } return EXIT_SUCCESS;