mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-09 19:42:48 +00:00
fix: full backups fail because of invalid setting IDs
This commit is contained in:
@@ -75,9 +75,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const [id, setting] of $overlay.settings) {
|
for (const [id, setting] of $overlay.settings) {
|
||||||
|
try {
|
||||||
await port.setSetting(id, setting)
|
await port.setSetting(id, setting)
|
||||||
|
} catch (e) {
|
||||||
|
console.log("Skipping invalid ID", e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Yes, this is a completely arbitrary and unnecessary delay.
|
// Yes, this is a completely arbitrary and unnecessary delay.
|
||||||
// The only purpose of it is to create a sense of weight,
|
// The only purpose of it is to create a sense of weight,
|
||||||
|
|||||||
Reference in New Issue
Block a user