Clean up some catch statements

This commit is contained in:
Bond_009
2018-12-20 13:39:58 +01:00
parent ea4c914123
commit 79d18cf5a5
14 changed files with 56 additions and 63 deletions

View File

@@ -2214,7 +2214,7 @@ namespace Emby.Server.Implementations
}
catch (Exception ex)
{
Logger.LogDebug("Ping test result to {0}. Success: {1} {2}", apiUrl, false, ex.Message);
Logger.LogDebug(ex, "Ping test result to {0}. Success: {1}", apiUrl, false);
_validAddressResults.AddOrUpdate(apiUrl, false, (k, v) => false);
return false;