Missing line from 5b9e6497 to check schema integrity after crash

This commit is contained in:
Dan Stillman 2020-11-17 01:26:23 -05:00
parent 5b9e6497af
commit e575097e34

View file

@ -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);