diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/IndexElementsVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/IndexElementsVisitor.cpp
index 20af9c1..50607af 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/IndexElementsVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/IndexElementsVisitor.cpp
@@ -162,14 +162,14 @@ QList<ElementId> IndexElementsVisitor::findSortedNodeNeighbors(
ConstNodePtr neighborNode = pMap->getNode(*neighborIdsItr);
if (!neighborNode)
{
- // This shouldn't happen unless the geospatial indices were set up improperly for the query
- // node.
+ // This shouldn't happen unless the geospatial indices were set up improperly for the
+ // query node.
const QString errorMsg =
QString("Map does not contain neighbor node: %1. Skipping neighbor...")
.arg((*neighborIdsItr).toString());
throw HootException(errorMsg);
-// LOG_TRACE(errorMsg);
-// continue;
+// LOG_ERROR(errorMsg);
+ continue;
}
else
{