-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hey,
We've noticed recently that System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() appears in stack traces that are generated using StackTraceEx extension method. I included a sample stack trace below. I will submit a PR that fixes this problem .
System.NotImplementedException: The method or operation is not implemented.\r\n at Octopus.Tests.Octopus.Shared.Util.ExceptionExtensionsFixture.<GenerateException1>d__14.MoveNext() in PATH\\Util\\ExceptionExtensionsFixture.cs:line 186\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n at Octopus.Tests.Octopus.Shared.Util.ExceptionExtensionsFixture.<GenerateException>d__13.MoveNext() in PATH\\Util\\ExceptionExtensionsFixture.cs:line 180\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServic
es.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n at Octopus.Tests.Octopus.Shared.Util.ExceptionExtensionsFixture.<PrettyPrint_AsyncException>d__1.MoveNext() in PATH\\Util\\ExceptionExtensionsFixture.cs:line 27
Metadata
Metadata
Assignees
Labels
No labels