Skip to content
Snippets Groups Projects
Commit f0fe028b authored by Andrey Meshkov's avatar Andrey Meshkov
Browse files

added logging

parent 3df41338
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,7 @@ func (p *Proxy) handleTCPConnection(conn net.Conn, proto Proto) { ...@@ -110,6 +110,7 @@ func (p *Proxy) handleTCPConnection(conn net.Conn, proto Proto) {
err = req.Unpack(packet) err = req.Unpack(packet)
if err != nil { if err != nil {
log.Error("handling tcp: unpacking msg: %s", err) log.Error("handling tcp: unpacking msg: %s", err)
log.Error("handling tcp: invalid msg: %v", packet)
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment