mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
后端启动bug处理
This commit is contained in:
@@ -79,7 +79,7 @@ public class EmqxClient {
|
|||||||
token.waitForCompletion();
|
token.waitForCompletion();
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
logger.error("=====>>>>>mqtt连接失败 message={}",e.getMessage());
|
logger.error("=====>>>>>mqtt连接失败 message={}",e.getMessage());
|
||||||
throw new ServiceException("mqtt客户端连接错误"+e.getMessage());
|
// e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -98,7 +98,7 @@ public class EmqxClient {
|
|||||||
logger.debug("====>>>mqtt客户端启动成功");
|
logger.debug("====>>>mqtt客户端启动成功");
|
||||||
}catch (MqttException e){
|
}catch (MqttException e){
|
||||||
logger.error("mqtt客户端连接错误 error={}",e.getMessage());
|
logger.error("mqtt客户端连接错误 error={}",e.getMessage());
|
||||||
throw new ServiceException("mqtt客户端连接错误"+e.getMessage());
|
// e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user