Skip to content

Conversation

@RickyKeane
Copy link

I've added support for exceptions that have nested exceptions.
The code will now iterate up to 10 nested exceptions and pull out the stack trace and exception message for these exceptions.
This then adds these properties to the existing ExceptionMessage and StackTrace properties on the gelf message.

This is catering for errors that have nested inner exceptions where
usually the real detail of the problem lies. This iterates through the
nested exceptions, up to 10 in depth.
For exceptions that contained nested exceptions this will pull out this
information for the message exception and the stack trace up to 10
exceptions deep.
@togakangaroo
Copy link

Will this be merged? It seems useful

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.

2 participants