Missing line from 5b9e6497
to check schema integrity after crash
This commit is contained in:
parent
5b9e6497af
commit
e575097e34
1 changed files with 3 additions and 0 deletions
|
@ -1216,6 +1216,9 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
this.crash = function (popup) {
|
||||
this.crashed = true;
|
||||
|
||||
// Check the database after restart
|
||||
Zotero.Schema.setIntegrityCheckRequired(true).catch(e => this.logError(e));
|
||||
|
||||
var reportErrorsStr = Zotero.getString('errorReport.reportErrors');
|
||||
var reportInstructions = Zotero.getString('errorReport.reportInstructions', reportErrorsStr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue