aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-04-01 23:56:00 +0300
committerGitHub <noreply@github.com>2020-04-01 23:56:00 +0300
commitcc40f84f3c138e439318e400eeb53cbb74eb8a84 (patch)
treeb07d4daa00a930e744008d0955e35a9102e85052 /Jellyfin.Server/Program.cs
parent07ea120ba961c20717dba625edb462d09e5ebec3 (diff)
parentf31efce52db9dbd726cce55ea099c0c5165da566 (diff)
Merge pull request #2660 from Bond-009/usings
Minor style fixes
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 2939d3378..5766a9dc3 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -1,6 +1,5 @@
using System;
using System.Diagnostics;
-using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
@@ -28,7 +27,6 @@ using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Serilog;
-using Serilog.Events;
using Serilog.Extensions.Logging;
using SQLitePCL;
using ILogger = Microsoft.Extensions.Logging.ILogger;
@@ -565,7 +563,7 @@ namespace Jellyfin.Server
}
catch (Exception ex)
{
- _logger.LogWarning(ex, "Skia not available. Will fallback to NullIMageEncoder.");
+ _logger.LogWarning(ex, $"Skia not available. Will fallback to {nameof(NullImageEncoder)}.");
}
return new NullImageEncoder();