Skip to content

Commit

Permalink
improves a log message
Browse files Browse the repository at this point in the history
  • Loading branch information
vilenarios authored and dtfiedler committed Jul 1, 2024
1 parent 684dd0b commit c7eadcb
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 c7eadcb

Please sign in to comment.