Skip to content

Commit

Permalink
Enable log on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti committed Feb 29, 2024
1 parent 2f3fa96 commit 14dd0f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void onResponse(TelemetryPipelineRequest request, TelemetryPipelineRespon
public void onException(TelemetryPipelineRequest request, String reason, Throwable throwable) {
if (!NetworkFriendlyExceptions.logSpecialOneTimeFriendlyException(
throwable, request.getUrl().toString(), friendlyExceptionThrown, logger)) {
if (logRetryableFailures) {
if (logOnException) {
operationLogger.recordFailure(
reason + retryableFailureSuffix,
throwable,
Expand Down

0 comments on commit 14dd0f9

Please sign in to comment.