Throw error if upgrading settings fails
This commit is contained in:
parent
33e3bec337
commit
3d35ae32c8
@ -206,6 +206,7 @@ class Settings {
|
||||
index++;
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Failed to upgrade settings.', e);
|
||||
this.setActive(this.getDefaultSettings());
|
||||
this.save();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user