Improve raylet failure msg. (#8986)

* Use better error messages.

* Improve message.

* Fix message based on code review.
This commit is contained in:
SangBin Cho
2020-06-18 13:36:32 -07:00
committed by GitHub
parent f97f95cfa5
commit 110f88ff61
@@ -235,6 +235,9 @@ void CoreWorkerDirectTaskSubmitter::RequestNewWorkerIfNeeded(
// A local request failed. This shouldn't happen if the raylet is still alive
// and we don't currently handle raylet failures, so treat it as a fatal
// error.
RAY_LOG(ERROR) << "The worker failed to receive a response from the local "
"raylet. This is most "
"likely because the local raylet has crahsed.";
RAY_LOG(FATAL) << status.ToString();
}
}));