mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
added response logging
This commit is contained in:
parent
59bcade7d2
commit
362566d100
1 changed files with 2 additions and 1 deletions
|
|
@ -174,7 +174,8 @@ namespace ServerManagerTool.Common.Utils
|
||||||
{
|
{
|
||||||
using (var client = new WebClient())
|
using (var client = new WebClient())
|
||||||
{
|
{
|
||||||
await client.DownloadStringTaskAsync(uri);
|
var response = await client.DownloadStringTaskAsync(uri);
|
||||||
|
_logger.Debug($"{nameof(PerformCallToAPIAsync)} - Response calling API: {response}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue