mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
update response headers for HEAD requests
This commit is contained in:
@@ -579,7 +579,13 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrorHandler(ex, httpReq, !string.Equals(ex.GetType().Name, "SocketException", StringComparison.OrdinalIgnoreCase));
|
||||
var logException = !string.Equals(ex.GetType().Name, "SocketException", StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
#if DEBUG
|
||||
logException = true;
|
||||
#endif
|
||||
|
||||
ErrorHandler(ex, httpReq, logException);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user