Owin SelfHost WebApi - client closing the connection during response raises an exception?
I'm running an Owin Selfhost based WebApi where i've put in an API unhandled exception logger via config.Services.Add(typeof(IExceptionLogger), _apiExceptionLogger); Relevant part of ApiExceptionLogger: public override void Log(ExceptionLoggerContext context) { if (context == null || context.ExceptionContext == null) return; Logger.Error("Unhandled exception from Web API", context.ExceptionContext.Exception); } The cases it's catching and logging regularly are ones where the client requests a dataset and then closes the connection while the results (JSON) are being sent back - people making a