From 7489269172cf5a6c93ff9c99ab998d28b77bdff5 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Fri, 24 May 2019 08:34:12 +0200 Subject: [PATCH] Return EXIT_FAILURE in main() instead of rethrow --- flow/flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/flow.cpp b/flow/flow.cpp index 7fb07b67b..279998acd 100644 --- a/flow/flow.cpp +++ b/flow/flow.cpp @@ -293,7 +293,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;