|
|
@@ -17,6 +17,7 @@ import com.coffee.bus.listener.event.bean.DeviceInfoEvent;
|
|
|
import com.coffee.bus.service.LocalBusDeviceService;
|
|
|
import com.coffee.bus.service.LocalBusHospitalLogService;
|
|
|
import com.coffee.bus.websocket.listener.DeviceInfoListener;
|
|
|
+import com.coffee.common.util.ExceptionUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
@@ -212,7 +213,7 @@ public class AliyunConsumerGroupService {
|
|
|
hospitalLog.setSuccess(true);
|
|
|
} catch (Exception e) {
|
|
|
hospitalLog.setSuccess(false);
|
|
|
- hospitalLog.setMessage(e.getMessage());
|
|
|
+ hospitalLog.setMessage(ExceptionUtil.getExceptionMsg(e));
|
|
|
log.error("阿里云数据【{}】数据处理失败 ", JSONUtil.toJsonStr(message), e);
|
|
|
}finally {
|
|
|
if(CharSequenceUtil.isNotBlank(deviceName)){
|