Redis – ASP.NET Core Custom IExceptionHandler doesn't catch exceptions
I'm trying to create a global exception handler for my Web API using IExceptionHandler. However my handler is not catching any exception. public class GlobalExceptionHandler(ILogger<GlobalExceptionHandler> logger) : IExceptionHandler { public ValueTask<bool> TryHandleAsync(HttpContext context, Exception ex, CancellationToken ct) { logger.LogError(ex, "Controller…