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