diff --git a/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryImportService.cs b/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryImportService.cs index 802de787..6ea64efb 100644 --- a/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryImportService.cs +++ b/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryImportService.cs @@ -167,7 +167,11 @@ namespace AsbCloudInfrastructure.Services.Trajectory { parseErrors.Add(ex.Message); } - }; + } + + if (parseErrors.Any()) + throw new FileFormatException(string.Join("\r\n", parseErrors)); + return trajectoryRows; } diff --git a/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryTemplate.xlsx b/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryTemplate.xlsx index 20080ac4..8d01c25b 100644 Binary files a/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryTemplate.xlsx and b/AsbCloudInfrastructure/Services/Trajectory/PlannedTrajectoryTemplate.xlsx differ