fixes #162 - Random MediaBrowser3 Crash
This commit is contained in:
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…
Reference in New Issue
Block a user