Skip to content

Commit

Permalink
Log connector error
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom committed Nov 15, 2023
1 parent cd6c809 commit a857f0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ func (c *Client) serveSocketMount(_ context.Context, s *socketMount) error {

sConn, err := c.dialer.Dial(ctx, s.inst)
if err != nil {
fmt.Println("------------------", err)
c.logger.Errorf("[%s] failed to connect to instance: %v\n", s.instShort, err)
cConn.Close()
return
Expand Down

0 comments on commit a857f0f

Please sign in to comment.