fixes #162 - Random MediaBrowser3 Crash

pull/702/head
Luke Pulverenti 12 years ago
parent 8ec2392590
commit 48d60b2f6a

@ -296,7 +296,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer
RaiseReceiveWebRequest(context); RaiseReceiveWebRequest(context);
await Task.Run(() => ProcessRequest(context)).ConfigureAwait(false); await Task.Run(() =>
{
try
{
ProcessRequest(context);
}
catch (Exception ex)
{
_logger.ErrorException("ProcessRequest failure", ex);
}
}).ConfigureAwait(false);
} }
/// <summary> /// <summary>

Loading…
Cancel
Save