Improve logging of UDP tracker packet dispatch error
This commit is contained in:
parent
aae32e2a31
commit
615669ecf8
|
@ -39,7 +39,7 @@ func (cc *ConnClient) reader() {
|
|||
}
|
||||
err = cc.d.Dispatch(b[:n], addr)
|
||||
if err != nil {
|
||||
log.Printf("dispatching packet received on %v (%q): %v", cc.conn, string(b[:n]), err)
|
||||
log.Printf("dispatching packet received on %v: %v", cc.conn.LocalAddr(), err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue