Skip to content

Commit

Permalink
Adding log statement for connections changed to single encoding
Browse files Browse the repository at this point in the history
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
  • Loading branch information
DerSchwilk committed Jul 6, 2022
1 parent 7b30710 commit efd18d0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,9 @@ private void retryOpenConnectionWithAdaptedEntity(final RetryOpenConnection retr
if (optionalResponse.isPresent()) {
final var response = optionalResponse.get();
if (response.getHttpStatus().isSuccess()) {
log.info("Adjusting encoding of connection with ID: {}. The connection URI " +
"will now be single encoded.",
connectionWithSingleEncodedPassword.getId());
final var modifyConnection =
ModifyConnection.of(connectionWithSingleEncodedPassword,
response.getDittoHeaders());
Expand Down

0 comments on commit efd18d0

Please sign in to comment.