Skip to content

Commit

Permalink
changed loglevel of received ThingErrorResponse
Browse files Browse the repository at this point in the history
to debug as error is given back to consumer of API to handle there
  • Loading branch information
thjaeckle authored Dec 9, 2019
1 parent 59239f7 commit f2f684a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ private void handleTwinMessage(final String message, final CharSequence correlat
if (signal instanceof ThingErrorResponse) {
final DittoRuntimeException cre = ((ErrorResponse) signal).getDittoRuntimeException();
final String description = cre.getDescription().orElse("");
LOGGER.warn("Client <{}>: Got TWIN ThingErrorResponse: <{}: {} - {}>", sessionId,
LOGGER.debug("Client <{}>: Got TWIN ThingErrorResponse: <{}: {} - {}>", sessionId,
cre.getClass().getSimpleName(), cre.getMessage(), description);
}
commandResponseConsumer.accept((ThingCommandResponse) signal);
Expand Down

0 comments on commit f2f684a

Please sign in to comment.