added back the server call home

This commit is contained in:
Brett Hewitson 2021-12-20 12:14:19 +10:00
parent 93d273c133
commit fc6f309178
11 changed files with 152 additions and 6 deletions

View file

@ -168,7 +168,7 @@ namespace ServerManagerTool.Common.Utils
}
}
public static async Task PerformServerCallToAPI(Uri uri, IPEndPoint endpoint)
public static async Task PerformCallToAPIAsync(Uri uri)
{
try
{
@ -179,7 +179,7 @@ namespace ServerManagerTool.Common.Utils
}
catch (Exception ex)
{
_logger.Debug($"{nameof(PerformServerCallToAPI)} - Failed calling API for: {endpoint.Address}:{endpoint.Port}. {ex.Message}");
_logger.Debug($"{nameof(PerformCallToAPIAsync)} - Failed calling API.\r\n{ex.Message}");
}
}
}