Version Error Message

This commit is contained in:
Mike Phares 2024-05-10 11:29:48 -07:00
parent cfdf757a42
commit b7ff282af3

View File

@ -562,7 +562,7 @@ public class AdaptationTesting : ISMTP
else if (i == 1)
{
if (componentsCellComponentCellComponent.Equipment.EquipmentType.Version != cellInstanceVersionName)
throw new Exception("Versions should match!");
throw new Exception($"Versions should match! {componentsCellComponentCellComponent.Equipment.EquipmentType.Version} != {cellInstanceVersionName}");
equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name;
_ = stringBuilder.
AppendLine("#if true").