The Free Software Media System - Server Backend & API
Fix log messages
Bond_00960053c7f3d2e
diff --git a/MediaBrowser.Common/Net/IPHost.cs b/MediaBrowser.Common/Net/IPHost.csindex bdadcbf952..e4f9142508 100644--- a/MediaBrowser.Common/Net/IPHost.cs+++ b/MediaBrowser.Common/Net/IPHost.cs@@ -195,7 +195,7 @@ namespace MediaBrowser.Common.Netreturn res;}- throw new InvalidCastException("Host does not contain a valid value. {host}");+ throw new InvalidCastException($"Host does not contain a valid value. {host}");}/// <summary>@@ -220,7 +220,7 @@ namespace MediaBrowser.Common.Netreturn res;}- throw new InvalidCastException("Host does not contain a valid value. {host}");+ throw new InvalidCastException($"Host does not contain a valid value. {host}");}/// <summary>@@ -433,7 +433,7 @@ namespace MediaBrowser.Common.Netcatch (SocketException ex){// Log and then ignore socket errors, as the result value will just be an empty array.- Debug.WriteLine("GetHostEntryAsync failed with {Message}.", ex.Message);+ Debug.WriteLine("GetHostAddresses failed with {Message}.", ex.Message);}}}