diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs index 527de6ae4..4f93f4b6e 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs @@ -296,7 +296,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer 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); } ///