aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Burrows <neil@pawprint.co.uk>2020-07-13 15:39:14 +0100
committerGitHub <noreply@github.com>2020-07-13 15:39:14 +0100
commit25e382748899dd1a0e001530fbffa80b8f4451a8 (patch)
treee5b5f33065e96546b55578f24731567ac626f141
parent359b0044b848cf49e8c52bb30fb1a3e8cf8f16b7 (diff)
Update Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
Update log format message and log exception Co-authored-by: Cody Robibero <cody@robibe.ro>
-rw-r--r--Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
index a9e84c238..946b9a87b 100644
--- a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
+++ b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs
@@ -55,7 +55,7 @@ namespace Emby.Server.Implementations.EntryPoints
}
catch (System.Net.Sockets.SocketException ex)
{
- _logger.LogWarning($"Unable to start AutoDiscovery listener on UDP port {PortNumber} - {ex.Message}");
+ _logger.LogWarning(ex, "Unable to start AutoDiscovery listener on UDP port {PortNumber}", PortNumber);
}
return Task.CompletedTask;