ASP .NET Core version 5.3.2 does not call into custom Client Provider on unhandled exceptions

steve

Posted on
Oct 28 2016

I have a custom Client provider and on 5.3.1 unhandled exceptions properly cause the middleware to call into the custom provider's override of GetClient()

After I upgraded to 5.3.2 (no other changes) the call into the GetClient() method no longer happens.

When I roll back to 5.3.1 it works fine again.


Deleted User

Raygun

Posted on
Nov 10 2016

Hi Steve,

I previously responded to your question via our customer support channel but re-posting here too:

I've retested this locally and am not having an issue with my customer Client provider.

Can I check that you are still registering your client provider in the service.AddRaygun(...) call?

E.g:

services.AddRaygun(Configuration, new RaygunMiddlewareSettings()
{
  ClientProvider = new ExampleRaygunAspNetCoreClientProvider()
});

Thanks, Jeremy.


Reply