Skip to content

Log inner exceptions even whe outer exception has no stack trace frames#1

Open
hotn wants to merge 1 commit intoMatrix42AG:masterfrom
hotn:improve-inner-exceptions
Open

Log inner exceptions even whe outer exception has no stack trace frames#1
hotn wants to merge 1 commit intoMatrix42AG:masterfrom
hotn:improve-inner-exceptions

Conversation

@hotn
Copy link

@hotn hotn commented Dec 27, 2016

I have used the improvements made by @afrischkorn for logging inner exceptions, but have found that the stack trace still gets lost if the exception type is AggregateException (common with async/await pattern) due to the AggregateException object not having a stack trace. This change will ensure that inner exceptions are processed regardless of whether or not the outer exception contains stack trace info.

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

Successfully merging this pull request may close these issues.

1 participant