This commit is contained in:
parent 76b1cc2f1f
commit 6890cc1005
2 changed files with 5 additions and 1 deletions

View File

@ -167,7 +167,11 @@ namespace AsbCloudInfrastructure.Services.Trajectory
{ {
parseErrors.Add(ex.Message); parseErrors.Add(ex.Message);
} }
}; }
if (parseErrors.Any())
throw new FileFormatException(string.Join("\r\n", parseErrors));
return trajectoryRows; return trajectoryRows;
} }