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
local function run()
local success, err = pcall(runSafe)
if not success then
monitor.setTextColor(colors.red)
monitor.write("Error: " .. err)
isErrorState = true
modem.open(500)
modem.transmit(500, 500, "Error: " .. err)
end
runSafe()
-- local success, err = pcall(runSafe)
-- if not success then
-- monitor.setTextColor(colors.red)
-- monitor.write("Error: " .. err)
-- isErrorState = true
-- modem.open(500)
-- modem.transmit(500, 500, "Error: " .. err)
-- end
end