diff --git a/ICD.Common.Utils/Xml/IcdXmlReader.cs b/ICD.Common.Utils/Xml/IcdXmlReader.cs index 4d85ad5..adf398b 100644 --- a/ICD.Common.Utils/Xml/IcdXmlReader.cs +++ b/ICD.Common.Utils/Xml/IcdXmlReader.cs @@ -151,7 +151,8 @@ namespace ICD.Common.Utils.Xml } catch (XmlException e) { - throw new IcdXmlException(e); + string message = string.Format("Unable to read element '{0}' content as string", m_Reader.Name); + throw new IcdXmlException(message, e, e.LineNumber, e.LinePosition); } }