remove err print

This commit is contained in:
Jose Garcia 2021-08-07 17:54:43 +00:00 committed by GitHub
parent fbf0d28672
commit eb2a176450

View file

@ -63,7 +63,6 @@ func (l *PortForwarder) handleConnection(ctx context.Context, conn net.Conn) {
copyConn := func(writer io.Writer, reader io.Reader) {
if _, err := io.Copy(writer, reader); err != nil {
fmt.Println(err)
channel.Close()
conn.Close()
if err != io.EOF {