Skip to content

Commit

Permalink
Merge pull request #166 from Sachin-Mamoru/fix-logs-issue
Browse files Browse the repository at this point in the history
Fixed issue of consider outcome for the callback
  • Loading branch information
Sachin-Mamoru authored Jun 3, 2024
2 parents b41ead7 + 5e0565c commit 99836df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ protected void executeHttpMethod(HttpUriRequest clientRequest, Map<String, Objec
if (!isRetry.shouldRetry()) {
return result;
}
outcome = result.getRight().getLeft();
}
return Pair.of(isRetry, Pair.of(outcome, null));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ private String attemptAccessTokenRequest(int maxAttempts) {
attemptCount + ".")
.logDetailLevel(DiagnosticLog.LogDetailLevel.APPLICATION)
.resultStatus(DiagnosticLog.ResultStatus.FAILED);
attemptCount++; LoggerUtils.triggerDiagnosticLogEvent(diagnosticLogBuilder);
attemptCount++;
LoggerUtils.triggerDiagnosticLogEvent(diagnosticLogBuilder);
}
LOG.info("Retrying token request for session data key: " +
this.authenticationContext.getContextIdentifier() + ". Attempt: " + attemptCount);
Expand Down

0 comments on commit 99836df

Please sign in to comment.