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