Mirror updater log lines into diagnostics log

This commit is contained in:
Aaron
2025-12-13 12:02:37 -05:00
parent 35c83a918b
commit d49218409d

View File

@@ -64,6 +64,9 @@ export function initReleaseUI({ showToast, showBusy, hideBusy, confirmAction, lo
releaseLog.textContent = releaseLogLines.join("\n");
releaseLog.scrollTop = 0; // keep most recent in view
}
// Mirror into global diagnostics log (frontend side)
const lvl = msg.toLowerCase().startsWith("error") ? "error" : "info";
logUi(`Update: ${msg}`, lvl);
}
function setReleaseChip(state) {