Don't query git.coopcloud.tech when streaming logs #275

Merged
decentral1se merged 2 commits from further-offline-fixes into main 2023-02-13 16:04:21 +00:00
Showing only changes of commit ff58646cfc - Show all commits

View File

@ -77,6 +77,8 @@ func Fatal(hostname string, err error) error {
return fmt.Errorf("connection timed out for %s", hostname)
} else if strings.Contains(out, "Permission denied") {
return fmt.Errorf("ssh auth: permission denied for %s", hostname)
} else if strings.Contains(out, "Network is unreachable") {
return fmt.Errorf("unable to connect to %s, network is unreachable?", hostname)
} else {
return err
}