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.
This commit is contained in:
Dan Albert 2021-10-30 13:10:51 -07:00
parent 2d93ac58fc
commit dac3533654

View File

@ -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)