ResultsBrowser : Inner exception message displayed, ver. 2.18.844

This commit is contained in:
Milan Hanajik 2018-03-16 13:24:06 +01:00
parent 0adec1cb51
commit 82a1669306
2 changed files with 7 additions and 3 deletions

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.18.838.0")]
[assembly: AssemblyFileVersion("2.18.838.0")]
[assembly: AssemblyVersion("2.18.844.0")]
[assembly: AssemblyFileVersion("2.18.844.0")]

View File

@ -244,7 +244,11 @@ namespace ResultsBrowser
}
catch (Exception exc)
{
MessageBox.Show(exc.Message, Strings.Error, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
string message = exc.Message;
if (exc.InnerException != null)
message += string.Format("{0}Inner exception:{0}{1}", Environment.NewLine, exc.InnerException.Message);
MessageBox.Show(message, Strings.Error, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
return;
}