mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
added back the server call home
This commit is contained in:
parent
93d273c133
commit
fc6f309178
11 changed files with 152 additions and 6 deletions
|
|
@ -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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue