This commit is contained in:
suyl
2021-08-02 13:54:18 +08:00
parent 489c6b36d2
commit 1d894b763e

View File

@@ -196,7 +196,7 @@ func (t *TcpClient) doPrint(key string) (err error) {
err = fmt.Errorf("未查询到此printMsg") err = fmt.Errorf("未查询到此printMsg")
} }
if err != nil { if err != nil {
globals.SugarLogger.Debugf("doPrint2 err printNo:%s, msgID:%s, printInfo: %v, err: %s", printMsg.PrintNo, printMsg.MsgID, utils.Format4Output(t.Clients[printMsg.PrintNo], true), err.Error()) globals.SugarLogger.Debugf("doPrint2 err printNo:%s, msgID:%s, err: %s", printMsg.PrintNo, printMsg.MsgID, err.Error())
//t.delConn(printMsg.PrintNo) //t.delConn(printMsg.PrintNo)
printMsg.Status = printMsgErr printMsg.Status = printMsgErr
printMsg.Comment = err.Error() printMsg.Comment = err.Error()