chore: add some debug messages
This commit is contained in:
parent
cf39e16fa3
commit
11b6f140e1
@ -272,10 +272,11 @@ end
|
|||||||
|
|
||||||
local function fetchRemotePlan()
|
local function fetchRemotePlan()
|
||||||
print('> fetch remote plan')
|
print('> fetch remote plan')
|
||||||
local message = { type = 'getplan', payload = { computerId = os.getComputerID() } }
|
local message = { type = 'getplan' }
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
local replyMessage, _ = net.sendQuery(INFERIUM_SERVER, message, NETWORK_TIMEOUT)
|
local replyMessage, _ = net.sendQuery(INFERIUM_SERVER, message, NETWORK_TIMEOUT)
|
||||||
|
print('> fetched')
|
||||||
|
|
||||||
if replyMessage and replyMessage.payload then
|
if replyMessage and replyMessage.payload then
|
||||||
previouslyFetchedRemotePlan = replyMessage.payload
|
previouslyFetchedRemotePlan = replyMessage.payload
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user