Skip to content

Commit

Permalink
improves a log message
Browse files Browse the repository at this point in the history
  • Loading branch information
vilenarios committed Jun 28, 2024
1 parent 7704b06 commit 0b1067c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/arns-resolver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b1067c

Please sign in to comment.