Throw error if upgrading settings fails

This commit is contained in:
Tamius Han 2025-01-05 00:38:11 +01:00
parent 33e3bec337
commit 3d35ae32c8

View File

@ -206,6 +206,7 @@ class Settings {
index++;
}
} catch (e) {
console.error('Failed to upgrade settings.', e);
this.setActive(this.getDefaultSettings());
this.save();
}