debug: add diagnostic logging to drawDashboard to trace rendering
This commit is contained in:
@@ -1015,7 +1015,12 @@ end
|
|||||||
function D.drawDashboard()
|
function D.drawDashboard()
|
||||||
if not mainPage then
|
if not mainPage then
|
||||||
if mainDevice 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()
|
buildMainPage()
|
||||||
|
log.info("DRAW", "Main page built: %s", tostring(mainPage ~= nil))
|
||||||
|
else
|
||||||
|
log.warn("DRAW", "No mainDevice — skipping dashboard")
|
||||||
end
|
end
|
||||||
if not mainPage then return end
|
if not mainPage then return end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user