moved code to an existing Try-Catch to get past problem with NSPPE genmac
This commit is contained in:
parent
a57172f22f
commit
6f90d34705
@ -347,14 +347,17 @@ namespace fmtxml
|
|||||||
XmlDocument xDoc = new XmlDocument();
|
XmlDocument xDoc = new XmlDocument();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
//if (svgFileName.Contains("nsppe"))
|
||||||
|
// Console.WriteLine("stop");
|
||||||
xDoc.LoadXml(Svg);
|
xDoc.LoadXml(Svg);
|
||||||
|
AppendPlantSpecific(svgFileName, xDoc);
|
||||||
|
xDoc.Save(outFile.FullName);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Error generating {0}", svgFileName);
|
||||||
Console.WriteLine("ex = {0}", ex);
|
Console.WriteLine("ex = {0}", ex);
|
||||||
}
|
}
|
||||||
AppendPlantSpecific(svgFileName, xDoc);
|
|
||||||
xDoc.Save(outFile.FullName);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user