1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

lib/rmg/RoadPlacer.cpp: Remove "e" from this "throw" statement to rethrow the original exception.

The original exception object should be rethrown
This commit is contained in:
Alexander Wilms 2023-10-27 14:35:03 +00:00
parent 3616235bb5
commit 2b21001743

View File

@ -201,7 +201,7 @@ void RoadPlacer::connectRoads()
catch (const std::exception & e)
{
logGlobal->error("Unhandled exception while drawing road to node %s: %s", node.toString(), e.what());
throw e;
throw;
}
}