diff --git a/src/ray/core_worker/core_worker.cc b/src/ray/core_worker/core_worker.cc index 1150b5d77..5421ff8e1 100644 --- a/src/ray/core_worker/core_worker.cc +++ b/src/ray/core_worker/core_worker.cc @@ -1589,9 +1589,10 @@ std::pair CoreWorker::GetNamedActorHandle( if (actor_id.IsNil()) { std::ostringstream stream; - stream << "Failed to look up actor with name '" << name - << "'. It is either you look up the named actor you didn't create or the named" - "actor hasn't been created because named actor creation is asynchronous."; + stream << "Failed to look up actor with name '" << name << "'. You are " + << "either trying to look up a named actor you didn't create, " + << "the named actor died, or the actor hasn't been created " + << "because named actor creation is asynchronous."; return std::make_pair(nullptr, Status::NotFound(stream.str())); }