From 2b210017438924250c4f650d61b3f8f944236d08 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Fri, 27 Oct 2023 14:35:03 +0000 Subject: [PATCH] lib/rmg/RoadPlacer.cpp: Remove "e" from this "throw" statement to rethrow the original exception. The original exception object should be rethrown --- lib/rmg/modificators/RoadPlacer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rmg/modificators/RoadPlacer.cpp b/lib/rmg/modificators/RoadPlacer.cpp index 0441c4f05..aca1acfd7 100644 --- a/lib/rmg/modificators/RoadPlacer.cpp +++ b/lib/rmg/modificators/RoadPlacer.cpp @@ -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; } }