mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user