Panic when this error occurs in testing

This commit is contained in:
Melon 2025-01-31 23:23:14 +00:00
parent c4c8c33139
commit 99c4c38bd5
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -192,7 +192,7 @@ func setupFakeSSH(wg *sync.WaitGroup, call func(addrPort netip.AddrPort, pubKey
sshConn, chans, reqs, err := ssh.NewServerConn(tcpConn, serverConfig)
if err != nil {
return nil
panic(err)
}
// The incoming Request channel must be serviced.