diff --git a/common/multiMiner.lua b/common/multiMiner.lua index a271261..ce71e8c 100644 --- a/common/multiMiner.lua +++ b/common/multiMiner.lua @@ -89,7 +89,7 @@ local function hijackTurtle(remoteId) local socket, msg = Socket.connect(remoteId, 188) if not socket then - error(msg) + error(msg, 0) end socket:write('turtle') @@ -101,7 +101,7 @@ local function hijackTurtle(remoteId) socket:write({ method, ... }) local resp = socket:read() if not resp then - error('timed out: ' .. method) + error('T/O: ' .. method, 0) end return table.unpack(resp) end