From 931ac752f505d4b5d28eea31865e3f3f0dd79061 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Mon, 10 Aug 2015 23:19:56 -0400 Subject: [PATCH] Fix InnerException reporting --- NBTExplorer/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NBTExplorer/Program.cs b/NBTExplorer/Program.cs index 84c88c6..5d74a5f 100644 --- a/NBTExplorer/Program.cs +++ b/NBTExplorer/Program.cs @@ -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 {