Open josephwoodward opened 5 years ago
When logging, there would be times where you'd like to know whether the exception was one configured.
Example:
x.OnError((context, exception, httpContext) => { if (!context.wasCaught){ _logger.Error(exception.Message); } return Task.CompletedTask; });
When logging, there would be times where you'd like to know whether the exception was one configured.
Example: