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

Capture Inner Exceptions on Error cause #1267

Closed
russcam opened this issue Apr 21, 2021 · 0 comments · Fixed by #1277
Closed

Capture Inner Exceptions on Error cause #1267

russcam opened this issue Apr 21, 2021 · 0 comments · Fixed by #1277
Assignees
Labels
agent-dotnet enhancement New feature or request

Comments

@russcam
Copy link
Contributor

russcam commented Apr 21, 2021

The APM server error schema has a "cause" property that can be used to capture a collection of chained exceptions. Consider using this to capture inner exceptions of a captured exception.

@russcam russcam added the enhancement New feature or request label Apr 21, 2021
@russcam russcam self-assigned this Apr 28, 2021
russcam added a commit to russcam/apm-agent-dotnet that referenced this issue Apr 28, 2021
This commit implements the cause property on
the exception of an APM error. Cause can capture
chained exceptions, which are the chain of
inner exceptions for .NET.

Closes elastic#1267
russcam added a commit that referenced this issue Apr 29, 2021
This commit implements the cause property on
the exception of an APM error. Cause can capture
chained exceptions, which are the chain of
inner exceptions for .NET.

Avoid the allocation of an array and
copying of stacktrace framew when a stacktrace limit
> 0 is specified.

Closes #1267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-dotnet enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant