aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/IPHost.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-08-04 18:49:54 +0200
committerBond_009 <bond.009@outlook.com>2021-08-04 18:49:54 +0200
commit60053c7f3d2ea6dbdeae5eecc8a46da23c672cd6 (patch)
treeae07c8ec20ff00ac8cf734c9c58cdc6e3079a925 /MediaBrowser.Common/Net/IPHost.cs
parent442dc10aaccf153873fd711dc80ee55052fc2063 (diff)
Fix log messages
Diffstat (limited to 'MediaBrowser.Common/Net/IPHost.cs')
-rw-r--r--MediaBrowser.Common/Net/IPHost.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Common/Net/IPHost.cs b/MediaBrowser.Common/Net/IPHost.cs
index bdadcbf95..e4f914250 100644
--- a/MediaBrowser.Common/Net/IPHost.cs
+++ b/MediaBrowser.Common/Net/IPHost.cs
@@ -195,7 +195,7 @@ namespace MediaBrowser.Common.Net
return 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.Net
return 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.Net
catch (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);
}
}
}