Merge branch 'pterodactyl:develop' into nwy-wings

This commit is contained in:
Ethan Alicea
2023-12-05 18:25:49 -05:00
committed by GitHub
6 changed files with 92 additions and 143 deletions

View File

@@ -107,7 +107,7 @@ func (c *SFTPServer) Run() error {
go func(conn net.Conn) {
defer conn.Close()
if err := c.AcceptInbound(conn, conf); err != nil {
log.WithField("error", err).Error("sftp: failed to accept inbound connection")
log.WithField("error", err).WithField("ip", conn.RemoteAddr().String()).Error("sftp: failed to accept inbound connection")
}
}(conn)
}