diff --git a/backend/api/Controllers/MissionSchedulingController.cs b/backend/api/Controllers/MissionSchedulingController.cs index 24bd1e86..0db1b9fe 100644 --- a/backend/api/Controllers/MissionSchedulingController.cs +++ b/backend/api/Controllers/MissionSchedulingController.cs @@ -303,6 +303,11 @@ [FromBody] ScheduledMissionQuery scheduledMissionQuery Map = new MapMetadata() }; + if (scheduledMissionDefinition.InspectionArea == null) + { + logger.LogWarning("Mission definition with ID {id} does not have an inspection area when scheduling", scheduledMissionDefinition.Id); + } + var missionRun = new MissionRun { Name = missionDefinition.Name,