Merge pull request #9 from daver32/develop

improve exception diagnosis
This commit is contained in:
daver32
2022-07-26 18:41:00 +00:00
committed by GitHub
+2 -2
View File
@@ -39,8 +39,8 @@ namespace InterfaceGenerator
{
var descriptor = new DiagnosticDescriptor(
"InterfaceGenerator.CriticalError",
"Exception thrown in InterfaceGenerator",
$"{exception.Message} {exception.StackTrace}",
$"Exception thrown in InterfaceGenerator",
$"{exception.GetType().FullName} {exception.Message} {exception.StackTrace.Trim()}",
"InterfaceGenerator",
DiagnosticSeverity.Error,
true,