Fix InnerException reporting

This commit is contained in:
Justin Aquadro 2015-08-10 23:19:56 -04:00
parent 97386a4e5f
commit 931ac752f5

View file

@ -81,8 +81,8 @@ namespace NBTExplorer
while (ix.InnerException != null) {
ix = ix.InnerException;
errorText.AppendLine();
errorText.AppendLine("Caused by Inner Exception: " + ex.GetType().Name);
errorText.AppendLine("Message: " + ex.Message);
errorText.AppendLine("Caused by Inner Exception: " + ix.GetType().Name);
errorText.AppendLine("Message: " + ix.Message);
}
try {