Skip to content

Commit 6b5238a

Browse files
authored
Downgrade the level (from error to warn) of logs emitted in the regular recovery route. (Azure#27841)
1 parent a73a94a commit 6b5238a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/RequestResponseChannel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ protected RequestResponseChannel(AmqpConnection amqpConnection, String connectio
218218
this.receiveLink.open();
219219
});
220220
} catch (IOException | RejectedExecutionException e) {
221-
throw logger.logExceptionAsError(new RuntimeException("Unable to open send and receive link.", e));
221+
throw logger.logExceptionAsWarning(new RuntimeException("Unable to open send and receive link.", e));
222222
}
223223
}
224224

@@ -403,7 +403,7 @@ private void handleError(Throwable error, String message) {
403403
return;
404404
}
405405

406-
logger.atError()
406+
logger.atWarning()
407407
.log("{} Disposing unconfirmed sends.", message, error);
408408

409409
endpointStates.emitError(error, (signalType, emitResult) -> {

0 commit comments

Comments
 (0)