Merge pull request #10069 from yantarou/jan_fix_MqttTransportHandler_exceptionCaught_debug_message
Fix debug log message in MqttTransportHandler:exceptionCaught()
This commit is contained in:
commit
022ed2dee7
@ -1063,6 +1063,7 @@ public class MqttTransportHandler extends ChannelInboundHandlerAdapter implement
|
||||
log.debug("[{}][{}][{}] IOException: {}", sessionId,
|
||||
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceId).orElse(null),
|
||||
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceName).orElse(""),
|
||||
cause.getMessage(),
|
||||
cause);
|
||||
} else if (log.isInfoEnabled()) {
|
||||
log.info("[{}][{}][{}] IOException: {}", sessionId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user