Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Mar 1, 2021
1 parent f498f45 commit 30bcba2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/vpn/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func ReadJSON(conn net.Conn, data interface{}) error {
for {
n, err := conn.Read(buf)
if err != nil {
fmt.Printf("FAILED TO READ JSON: %v\n", err)
return fmt.Errorf("error reading data: %w", err)
}

Expand Down
2 changes: 0 additions & 2 deletions pkg/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ func (r *router) serveTransportManager(ctx context.Context) {
return
}

//r.logger.Infof("GOT PACKET: %s %v", packet.Type().String(), packet)

if err := r.handleTransportPacket(ctx, packet); err != nil {
if err == transport.ErrNotServing {
r.logger.WithError(err).Warnf("Stopped serving Transport.")
Expand Down

0 comments on commit 30bcba2

Please sign in to comment.