log every processed boot entry

This commit is contained in:
2025-11-16 16:33:57 +01:00
parent c34823673e
commit 66fd6d6780

View File

@@ -59,6 +59,8 @@ export class EfiBootMgrService {
} }
return outputValues.entries.map((v) => { return outputValues.entries.map((v) => {
logger.debug(`Processing boot entry: ${v}`);
const [bootStr, labelStr] = v.split("* "); const [bootStr, labelStr] = v.split("* ");
if (!bootStr || !labelStr) throw new Error("Invalid output!"); if (!bootStr || !labelStr) throw new Error("Invalid output!");