Raygun C# client gets exception class name wrong (and therefore groups them wrong)
nlewis
Posted on
Mar 27 2015
I kept seeing errors in Raygun that looked like this:
[1550, Culture=neutral, PublicKeyToken=null]]: No route was found for the waypoints provided.]
They're grouped by the 1550 number. When I took a closer look, the actual exception is:
System.ServiceModel.FaultException`1[[OurDataService.Bing.Route.ResponseSummary, OurDataService, Version=2.1.0.1550
This is actually a generic exception, System.ServiceModel.FaultException< ResponseSummary > but due to the way generics work in c#, the version of the generic type is included in the class name.
So every time we increment the version of our data service, we get a new group of errors, so permanently ignoring them doesn't work. Frustrating.
Callum
Posted on
Mar 27 2015
Hi,
Thanks for letting us know about this - we have this on our list for the next release of Raygun4NET which will be released in the near future.
Regards,
Callum Gavin
Mindscape Limited
Jason Fauchelle
Raygun
Posted on
Apr 17 2015
Hello,
We've just released the next version of Raygun4Net (v5.0.1) which no longer includes the assembly information of generic type arguments in the class name. This should improve the exception grouping for you.
-Jason Fauchelle