mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 22:08:16 +08:00
Show the exit code if RunManager failed to start a process (#6797)
This commit is contained in:
@@ -146,7 +146,8 @@ public class RunManager {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (!p.isAlive()) {
|
||||
throw new RuntimeException("Failed to start " + name);
|
||||
throw new RuntimeException(
|
||||
String.format("Failed to start %s. Exit code: %d.", name, p.exitValue()));
|
||||
}
|
||||
processes.add(Pair.of(name, p));
|
||||
if (LOGGER.isInfoEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user