fix log format on error parsing request

This commit is contained in:
xvzc 2022-04-14 10:44:32 +09:00
parent 742794f43e
commit 69fba6da37

View File

@ -49,8 +49,7 @@ func (p *Proxy) Start() {
pkt, err := packet.NewHttpPacket(b)
if err != nil {
log.Debug("Error while parsing request")
log.Println(b)
log.Debug("Error while parsing request: ", string(b))
return
}