debug: add diagnostic logging to drawDashboard to trace rendering

This commit is contained in:
MayaTheShy
2026-03-22 18:58:04 -04:00
parent 64b3e4b069
commit fdc3c36cd7

View File

@@ -1015,7 +1015,12 @@ end
function D.drawDashboard()
if not mainPage then
if mainDevice then
log.info("DRAW", "Building main page (device=%s, side=%s)",
tostring(mainDevice), tostring(mainDevice and mainDevice.device and mainDevice.device.side or "nil"))
buildMainPage()
log.info("DRAW", "Main page built: %s", tostring(mainPage ~= nil))
else
log.warn("DRAW", "No mainDevice — skipping dashboard")
end
if not mainPage then return end
end