fix: full backups fail because of invalid setting IDs

This commit is contained in:
2023-12-07 18:58:40 +01:00
parent 846183bbb1
commit 77339620e6

View File

@@ -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,