mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make error more descriptive.
This commit is contained in:
@@ -79,9 +79,7 @@ namespace SabreTools.Helper
|
|||||||
// There are rare cases where a malformed XML will not have the required attributes. We can only skip them.
|
// There are rare cases where a malformed XML will not have the required attributes. We can only skip them.
|
||||||
if (node.Attributes.Count == 0)
|
if (node.Attributes.Count == 0)
|
||||||
{
|
{
|
||||||
logger.Error(@"A node with malformed XML has been found!
|
logger.Error("No attributes were found");
|
||||||
For RV DATs, please make sure that all names and descriptions are quoted.
|
|
||||||
For XML DATs, make sure that the DAT has all required information.");
|
|
||||||
node = node.NextSibling;
|
node = node.NextSibling;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user