diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 705253e771..e94b4241fb 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -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);