From ff0c11e25d31f6f881cbc00432620ec4d6891320 Mon Sep 17 00:00:00 2001 From: Nayd Date: Fri, 19 Dec 2014 21:35:35 +0000 Subject: Tools/ConnectionPatcher: Pause program when an error happens Similar to what is done in mmaps_generator and vmap4_extractor. This hopefully reduces the number of problems that Windows users have when patching fails. Closes #13580 --- src/tools/connection_patcher/Program.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools/connection_patcher/Program.cpp') diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index fe86936a95e..8c9060dc45d 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -216,6 +216,8 @@ int main(int argc, char** argv) catch (std::exception const& ex) { std::cerr << "EX: " << ex.what() << std::endl; + std::cerr << "An error occurred. Press ENTER to continue..."; + std::cin.get(); return 1; } } -- cgit v1.2.3