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:
parent
3616235bb5
commit
2b21001743
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user