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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user