Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal exception handling code appears in the stacktrace #1

Open
pawelpabich opened this issue Jun 27, 2017 · 0 comments
Open

Internal exception handling code appears in the stacktrace #1

pawelpabich opened this issue Jun 27, 2017 · 0 comments

Comments

@pawelpabich
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant