Raygun Feature Request

Feature Request

Better support for AggregateException

Current Status:

Completed


Avatar

tgebhardt@spotlite.com

Raygun doesn't really have good support for when an AggregateException is thrown. We don't see all the errors that are underneath the aggregated exception.


Avatar

Callum

Posted on
Oct 22 2014

Thanks for reporting this one - this was an oversight and we have a fix coming for it shortly. Once this is applied, the list exceptions in the InnerErrors property will be displayed in the stack trace on the error instance page.

Regards,

Callum Gavin
Mindscape Limited

Avatar

Raygun

Jason Fauchelle

Posted on
Oct 28 2014

Thanks again for this feedback. The latest version of Raygun4Net available from NuGet will send all inner exception information for AggregateExceptions.

Stack traces of the Inner exceptions will be displayed as described by Callum.

Let us know if you have any questions about this.

-Jason Fauchelle

Avatar

AaronLS

Posted on
Aug 20 2015

How are you retrieving the InnerExceptions property? If I have a custom exception type with a IEnumerable

Avatar

Raygun

Jason Fauchelle

Posted on
Aug 20 2015

Hi Aaron,

We explicitly check to see if it is an AggregateException and then access its InnerExceptions property. Inheriting AggregateException may be your best option for now.

-Jason Fauchelle

Avatar

Jamie Penney

Posted on
Aug 20 2015

Hi Aaron,

It only works on AggregateExceptions - we grab the inner exceptions on the client side so it has to be type safe. You can see the code here: https://github.com/MindscapeHQ/raygun4net/blob/master/Mindscape.Raygun4Net4/RaygunClient.cs#L392

Best Regards,
Jamie