This commit is contained in:
2025-06-15 21:26:40 -04:00
parent f39e01a305
commit 939b9b7df2

View File

@@ -109,14 +109,15 @@ local function runSafe()
end end
local function run() local function run()
local success, err = pcall(runSafe) runSafe()
if not success then -- local success, err = pcall(runSafe)
monitor.setTextColor(colors.red) -- if not success then
monitor.write("Error: " .. err) -- monitor.setTextColor(colors.red)
isErrorState = true -- monitor.write("Error: " .. err)
modem.open(500) -- isErrorState = true
modem.transmit(500, 500, "Error: " .. err) -- modem.open(500)
end -- modem.transmit(500, 500, "Error: " .. err)
-- end
end end