1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 16:02:51 -05:00

settings: show parse error message

This commit is contained in:
bbedward
2025-12-29 10:45:44 -05:00
parent 2eeaf8ff62
commit 518a5d38aa
15 changed files with 681 additions and 351 deletions

View File

@@ -195,7 +195,9 @@ Singleton {
}
} catch (e) {
_parseError = true;
console.error("SessionData: Failed to parse session.json - file will not be overwritten. Error:", e.message);
const msg = e.message;
console.error("SessionData: Failed to parse session.json - file will not be overwritten. Error:", msg);
Qt.callLater(() => ToastService.showError(I18n.tr("Failed to parse session.json"), msg));
}
}