Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some additional information in error reporting. #336

Open
Babscoole opened this issue May 31, 2021 · 1 comment
Open

Some additional information in error reporting. #336

Babscoole opened this issue May 31, 2021 · 1 comment
Labels
feature An improvement or feature that is marked for planning and implementation..

Comments

@Babscoole
Copy link

When a property name is incorrect, the error output would be something like:

[ERROR]: [AggregateException]: One or more errors occurred.
[ExmlException]: An EXML exception has occurred!
[NullReferenceException]: Object reference not set to an instance of an object.

at libMBIN.NMSTemplate.DeserializeEXml(EXmlBase xmlData)
at libMBIN.NMSTemplate.DeserializeEXml(EXmlBase xmlData)
at libMBIN.NMSTemplate.DeserializeEXmlValue(NMSTemplate template, Type fieldType, FieldInfo field, EXmlProperty xmlProperty, Type templateType, NMSAttribute settings)
at libMBIN.NMSTemplate.DeserializeEXml(EXmlBase xmlData)
at libMBIN.EXmlFile.ReadTemplateFromXmlReader(XmlReader reader, String& templateName)
at libMBIN.EXmlFile.ReadTemplateFromStream(Stream input, String& templateName)
at MBINCompiler.Commands.Convert.ConvertEXML(String inputPath, FileStream fIn, MemoryStream msOut, String fileOut)

Would be helpful for debugging if the error report could include the field name(s) causing the error(s).

Thanks.

@monkeyman192 monkeyman192 added the feature An improvement or feature that is marked for planning and implementation.. label May 31, 2021
@Babscoole
Copy link
Author

Bump. :) I think one bump in 10 month is ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature An improvement or feature that is marked for planning and implementation..
Projects
None yet
Development

No branches or pull requests

2 participants