Fix debug log message in MqttTransportHandler:exceptionCaught()
This commit is contained in:
parent
7776bdb0e8
commit
afb6595de9
@ -1017,6 +1017,7 @@ public class MqttTransportHandler extends ChannelInboundHandlerAdapter implement
|
|||||||
log.debug("[{}][{}][{}] IOException: {}", sessionId,
|
log.debug("[{}][{}][{}] IOException: {}", sessionId,
|
||||||
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceId).orElse(null),
|
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceId).orElse(null),
|
||||||
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceName).orElse(""),
|
Optional.ofNullable(this.deviceSessionCtx.getDeviceInfo()).map(TransportDeviceInfo::getDeviceName).orElse(""),
|
||||||
|
cause.getMessage(),
|
||||||
cause);
|
cause);
|
||||||
} else if (log.isInfoEnabled()) {
|
} else if (log.isInfoEnabled()) {
|
||||||
log.info("[{}][{}][{}] IOException: {}", sessionId,
|
log.info("[{}][{}][{}] IOException: {}", sessionId,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user