Przeglądaj źródła

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

Vasily 5 lat temu
rodzic
commit
30f4392872

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

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