mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Maybe this can error out?
This commit is contained in:
@@ -28,7 +28,15 @@ namespace SabreTools.Helper
|
||||
}
|
||||
catch (XmlException)
|
||||
{
|
||||
doc.LoadXml(Converters.RomVaultToXML(File.ReadAllLines(filename)).ToString());
|
||||
try
|
||||
{
|
||||
doc.LoadXml(Converters.RomVaultToXML(File.ReadAllLines(filename)).ToString());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.Error(ex.ToString());
|
||||
return roms;
|
||||
}
|
||||
}
|
||||
|
||||
// Experimental looping using only XML parsing
|
||||
|
||||
Reference in New Issue
Block a user