debug: add diagnostic logging to drawDashboard to trace rendering
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user