Update Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs

Update log format message and log exception

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/3549/head
Neil Burrows 4 years ago committed by GitHub
parent 359b0044b8
commit 25e3827488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save