Merge "feat(libstore): print the first line of stdout of SSH in case of failure" into main

This commit is contained in:
Raito Bezarius
2024-05-10 19:33:36 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -110,7 +110,7 @@ std::unique_ptr<SSHMaster::Connection> SSHMaster::startCommand(const std::string
} catch (EndOfFile & e) { }
if (reply != "started") {
printTalkative("SSH stdout first line: %s", reply);
warn("SSH to '%s' failed, stdout first line: '%s'", host, reply);
throw Error("failed to start SSH connection to '%s'", host);
}
}