mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Drop level of spammy log message (#22576)
This commit is contained in:
parent
40fa56f40c
commit
9261428004
1 changed files with 10 additions and 3 deletions
|
@ -344,9 +344,16 @@ CoreWorker &CoreWorkerProcessImpl::GetCoreWorkerForCurrentThread() {
|
|||
// In this case, we should exit without crashing.
|
||||
// TODO (scv119): A better solution could be returning error code
|
||||
// and handling it at language frontend.
|
||||
RAY_LOG(ERROR) << "The global worker has already been shutdown. This happens when "
|
||||
"the language frontend accesses the Ray's worker after it is "
|
||||
"shutdown. The process will exit";
|
||||
if (options_.worker_type == WorkerType::DRIVER) {
|
||||
RAY_LOG(ERROR)
|
||||
<< "The global worker has already been shutdown. This happens when "
|
||||
"the language frontend accesses the Ray's worker after it is "
|
||||
"shutdown. The process will exit";
|
||||
} else {
|
||||
RAY_LOG(INFO) << "The global worker has already been shutdown. This happens when "
|
||||
"the language frontend accesses the Ray's worker after it is "
|
||||
"shutdown. The process will exit";
|
||||
}
|
||||
QuickExit();
|
||||
}
|
||||
RAY_CHECK(global_worker) << "global_worker_ must not be NULL";
|
||||
|
|
Loading…
Add table
Reference in a new issue