瀏覽代碼

Fix condition flipped by https://github.com/jellyfin/jellyfin/pull/2635

Vasily 5 年之前
父節點
當前提交
30f4392872
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

+ 1 - 1
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs

@@ -553,7 +553,7 @@ namespace Emby.Server.Implementations.HttpServer
                     || ex is OperationCanceledException
                     || ex is SecurityException
                     || ex is FileNotFoundException;
-                await ErrorHandler(ex, httpReq, ignoreStackTrace, urlToLog).ConfigureAwait(false);
+                await ErrorHandler(ex, httpReq, !ignoreStackTrace, urlToLog).ConfigureAwait(false);
             }
             finally
             {