re-add panic

v0.1.0
Andrew Woodlee 1 year ago
parent 59c2c028c8
commit b25c7ea5ea

@ -113,8 +113,7 @@ func (remoteConfig *Host) ConnectToSSHHost() (*ssh.Client, error) {
println("Connecting to " + host)
sshClient, connectErr = ssh.Dial("tcp", host, sshConfig)
if connectErr != nil {
continue
// panic(fmt.Errorf("error when connecting to host %s: %w", host, connectErr))
panic(fmt.Errorf("error when connecting to host %s: %w", host, connectErr))
}
}
break

Loading…
Cancel
Save