diff options
author | Nayd <dnpd.dd@gmail.com> | 2014-12-19 21:35:35 +0000 |
---|---|---|
committer | Nayd <dnpd.dd@gmail.com> | 2014-12-19 21:35:59 +0000 |
commit | ff0c11e25d31f6f881cbc00432620ec4d6891320 (patch) | |
tree | 5bfc3b57f7ae14ce561d61bd6358b8f62941932c /src | |
parent | bdeb3026e2e98fbf2ef7dbc7b9009473cf5f8d46 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/connection_patcher/Program.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |