Skip to content

Commit

Permalink
chore: minor improvement to debug log message
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Sep 13, 2021
1 parent 10f43df commit 4ad64b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (s *SSH) Serve(ctx context.Context, a *ssh.Agent, l net.Listener,
s.log.Debug("start serving SSH connection")
if err := agent.ServeAgent(a, conn); err != nil {
if errors.Is(err, io.EOF) {
s.log.Debug("finish serving connection")
s.log.Debug("finish serving SSH connection")
continue
}
return fmt.Errorf("ssh Serve error: %w", err)
Expand Down

0 comments on commit 4ad64b1

Please sign in to comment.