aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-04-02 14:31:56 -0400
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-04-02 14:31:56 -0400
commitde634203d812922bb04359a32e59189fb0110791 (patch)
treef63cdce76ba43f72fbc16e9444e536f4ac8b55ac /Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
parenteadad7311777c68cf7daa55e267b296573466b8a (diff)
Put Boolean operators at beginning of lines instead of the end
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpListenerHost.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/HttpListenerHost.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
index 62735b7cf..72667a314 100644
--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs
@@ -548,11 +548,11 @@ namespace Emby.Server.Implementations.HttpServer
}
bool ignoreStackTrace =
- ex is SocketException ||
- ex is IOException ||
- ex is OperationCanceledException ||
- ex is SecurityException ||
- ex is FileNotFoundException;
+ ex is SocketException
+ || ex is IOException
+ || ex is OperationCanceledException
+ || ex is SecurityException
+ || ex is FileNotFoundException;
await ErrorHandler(ex, httpReq, ignoreStackTrace).ConfigureAwait(false);
}
finally