From dac3533654ff7196d9f048f852c6e9bbfaece20f Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sat, 30 Oct 2021 13:10:51 -0700 Subject: [PATCH] Tone down the out-of-parking message. There's nothing the user can do about this and it's somewhat expected, so downgrade to a warning so users don't think it's a bug. If we ever get around to doing more cautious parking allocation this should become a generation-halting error, but until then we expect it to happen somewhat often. --- game/missiongenerator/aircraft/flightgroupspawner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/missiongenerator/aircraft/flightgroupspawner.py b/game/missiongenerator/aircraft/flightgroupspawner.py index 649168af..53b75cf1 100644 --- a/game/missiongenerator/aircraft/flightgroupspawner.py +++ b/game/missiongenerator/aircraft/flightgroupspawner.py @@ -114,7 +114,7 @@ class FlightGroupSpawner: return self._generate_at_airport(name, cp.airport) except NoParkingSlotError: # Generated when there is no place on Runway or on Parking Slots - logging.exception( + logging.warning( "No room on runway or parking slots. Starting from the air." ) group = self._generate_over_departure(name, cp)