bug6226: enhanced logging even further, telling number of maneuvers for the competitor

This commit is contained in:
Axel Uhl
2026-06-18 16:29:27 +02:00
parent 51d7302669
commit 4b4e27c400
@@ -2096,7 +2096,8 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory {
} catch (org.bson.BsonMaximumSizeExceededException e) {
logger.log(Level.WARNING, "Maneuver document for competitor "+competitor.getName()+
" in race "+raceIdentifier+
" got too big; what about bug 6226?", e);
" got too big; we identified "+competitorManeuvers.size()+
" maneuvers for that competitor alone. What about bug 6226?", e);
throw e;
}
}