chore: add some debug messages

This commit is contained in:
Guillaume ARM 2024-05-21 23:37:35 +02:00
parent cf39e16fa3
commit 11b6f140e1

View File

@ -272,10 +272,11 @@ end
local function fetchRemotePlan()
print('> fetch remote plan')
local message = { type = 'getplan', payload = { computerId = os.getComputerID() } }
local message = { type = 'getplan' }
while true do
local replyMessage, _ = net.sendQuery(INFERIUM_SERVER, message, NETWORK_TIMEOUT)
print('> fetched')
if replyMessage and replyMessage.payload then
previouslyFetchedRemotePlan = replyMessage.payload