From 3167b676937b177881a194b1375b64dc577abad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 30 Dec 2022 09:53:06 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index eba061080..bf5de518d 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -61,7 +61,7 @@ func (t *TcpClient) handleConn(c net.Conn) { PrintNo string `json:"print_no"` }{} if err := json.Unmarshal(buffer[0:n], ¶m); err != nil { - c.Write([]byte("err Unmarshal")) + c.Write([]byte(err.Error())) return } t.buildMsgMap(param.PrintNo)