# Capture inner exceptions in APM Agent

**URL:** <https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [July 5, 2019, 2:24pm UTC](https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123 "2019-07-05T14:24:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neox/32/47249_2.png) [@NeoX](https://discuss.elastic.co/u/NeoX)\
**Post date:** [July 5, 2019, 2:24pm UTC](https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123/1 "2019-07-05T14:24:46Z")

</div>

Currently, `CapturedException` in Elastic APM Agent doesn't appear to support inner exceptions and sending this to the APM URL. Is this something that will be added?

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [July 5, 2019, 2:38pm UTC](https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123/2 "2019-07-05T14:38:32Z")

</div>

There is ongoing discussion to add this feature - [https://github.com/elastic/apm-agent-dotnet/issues/358](https://github.com/elastic/apm-agent-dotnet/issues/358) (umbrella issue for all APM components - [https://github.com/elastic/apm/issues/40](https://github.com/elastic/apm/issues/40))

---

<div class="post-metadata">

**Author:** ![NeoX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neox/32/47249_2.png) [@NeoX](https://discuss.elastic.co/u/NeoX)\
**Post date:** [July 15, 2019, 12:22pm UTC](https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123/3 "2019-07-15T12:22:55Z")

</div>

I've created a [PR](https://github.com/elastic/apm-agent-dotnet/pull/367) for this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 5, 2019, 8:22am UTC](https://discuss.elastic.co/t/capture-inner-exceptions-in-apm-agent/189123/4 "2019-08-05T08:22:56Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
