Add property to indicate whether the exception has handled or not
Opened this issue · 0 comments
josephwoodward commented
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;
});