diff --git a/mica-mqtt-server/src/main/java/net/dreamlu/iot/mqtt/core/server/MqttServerAioHandler.java b/mica-mqtt-server/src/main/java/net/dreamlu/iot/mqtt/core/server/MqttServerAioHandler.java index 9d653625..4eb07c03 100644 --- a/mica-mqtt-server/src/main/java/net/dreamlu/iot/mqtt/core/server/MqttServerAioHandler.java +++ b/mica-mqtt-server/src/main/java/net/dreamlu/iot/mqtt/core/server/MqttServerAioHandler.java @@ -101,7 +101,7 @@ public void handler(Packet packet, ChannelContext context) { } // 3. 判定是否认证成功 if (!context.isAccepted()) { - Tio.remove(context, "Mqtt connected but clientId is blank."); + Tio.remove(context, "Mqtt connected but is not accepted."); return; } // 4. 按类型的消息处理