Skip to content

Commit b8e5002

Browse files
committed
logging and debugging
1 parent 6b9f840 commit b8e5002

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

actions/sequester/Quest2GitHub/AzDoClientServices/QuestClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ static async Task<JsonElement> HandleResponseAsync(HttpResponseMessage response)
156156
{
157157
if (response.IsSuccessStatusCode)
158158
{
159+
// Temporary debugging code:
160+
161+
string packet = await response.Content.ReadAsStringAsync();
162+
Console.WriteLine($"Response: {packet}");
159163
JsonDocument jsonDocument = await JsonDocument.ParseAsync(await response.Content.ReadAsStreamAsync());
160164
return jsonDocument.RootElement;
161165
}

0 commit comments

Comments
 (0)