This commit is contained in:
laodaming 2023-08-15 17:36:17 +08:00
parent 35cb2ef1ce
commit 8d0a675dd9

View File

@ -107,7 +107,7 @@ func (w *wsConnectItem) renderImage(data []byte) {
}
d, _ := json.Marshal(tmpData)
//发送给对应的流水线组装数据
if err := w.rabbitMq.SendMsg(constants.RABBIT_MQ_ASSEMBLE_RENDER_DATA, d); err != nil {
if err = w.rabbitMq.SendMsg(constants.RABBIT_MQ_ASSEMBLE_RENDER_DATA, d); err != nil {
logx.Error("发送渲染任务数据到MQ失败:", string(d), "err:", err)
return
}