moved code to an existing Try-Catch to get past problem with NSPPE genmac

This commit is contained in:
John Jenko 2012-02-16 19:00:49 +00:00
parent a57172f22f
commit 6f90d34705

View File

@ -347,14 +347,17 @@ namespace fmtxml
XmlDocument xDoc = new XmlDocument();
try
{
//if (svgFileName.Contains("nsppe"))
// Console.WriteLine("stop");
xDoc.LoadXml(Svg);
AppendPlantSpecific(svgFileName, xDoc);
xDoc.Save(outFile.FullName);
}
catch (Exception ex)
{
Console.WriteLine("Error generating {0}", svgFileName);
Console.WriteLine("ex = {0}", ex);
}
AppendPlantSpecific(svgFileName, xDoc);
xDoc.Save(outFile.FullName);
}
}
}