From 0b1067c4adc42a4eaea8116c28530f28d0f625de Mon Sep 17 00:00:00 2001 From: vilenarios Date: Fri, 28 Jun 2024 14:31:22 -0400 Subject: [PATCH] improves a log message --- scripts/arns-resolver.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/arns-resolver.lua b/scripts/arns-resolver.lua index 571ebc12..39743bf7 100644 --- a/scripts/arns-resolver.lua +++ b/scripts/arns-resolver.lua @@ -171,8 +171,8 @@ local arnsMeta = { return function(name) name = string.lower(name) local rootName, underName = splitIntoTwoNames(name) - if NAMES[rootName] == nil then - print("Cannot get process id for name " .. + if NAMES[rootName] == nil or PROCESSES[NAMES[rootName].processId].state == nil then + print("Cannot get full record details for this name " .. rootName .. ", it has not been looked up and resolved yet. Resolving now...") ao.send({ Target = AR_IO_PROCESS_ID, Action = "Record", Name = rootName }) return nil