Skip to content

Commit

Permalink
Added Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bhillkeyfactor committed Nov 8, 2021
1 parent c55c3b1 commit 0048246
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions DigiCertSymCaProxy/Client/DigiCertSymClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ public async Task SubmitQueryOrderRequestAsync(BlockingCollection<ICertificateDe
var retryCount = 0;

foreach (var seat in SeatList.Split(','))
{
{
Logger.Trace($"Processing SeatId {seat}");
pageCounter = 1;
do
{
Expand All @@ -203,7 +204,9 @@ public async Task SubmitQueryOrderRequestAsync(BlockingCollection<ICertificateDe

if (!resp.IsSuccessStatusCode)
{
var responseMessage = resp.Content.ReadAsStringAsync().Result;
var responseMessage = resp.Content.ReadAsStringAsync().Result;
Logger.Trace($"Raw error response {responseMessage}");

//igngore missing Certificate in search 404 errors
if (!responseMessage.Contains("entity_not_found"))
{
Expand Down

0 comments on commit 0048246

Please sign in to comment.