解决推流设备状态更新异常

This commit is contained in:
lin
2025-03-19 16:22:38 +08:00
parent 06de25bb4d
commit ccafa0ea01
3 changed files with 5 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ public class RedisPushStreamStatusMsgListener implements MessageListener, Applic
streamPushService.online(streamStatusMessage.getOnlineStreams());
}
} catch (Exception e) {
log.warn("[REDIS消息-推流设备状态变化] 发现未处理的异常, \r\n{}", JSON.toJSONString(msg));
log.warn("[REDIS消息-推流设备状态变化] 发现未处理的异常, \r\n{}", JSON.parseObject(msg.getBody()));
log.error("[REDIS消息-推流设备状态变化] 异常内容: ", e);
}
}