mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user