diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 4783758e4..a3c90e8a7 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -105,7 +105,12 @@ Zotero.Schema = new function(){ .then(async function () { await this.updateBundledFiles(); if (Zotero.Prefs.get('automaticScraperUpdates')) { - await this.updateFromRepository(this.REPO_UPDATE_UPGRADE); + try { + await this.updateFromRepository(this.REPO_UPDATE_UPGRADE); + } + catch (e) { + Zotero.logError(e); + } } _schemaUpdateDeferred.resolve(true); }.bind(this)) @@ -220,7 +225,12 @@ Zotero.Schema = new function(){ .then(async function () { await this.updateBundledFiles(); if (Zotero.Prefs.get('automaticScraperUpdates')) { - await this.updateFromRepository(this.REPO_UPDATE_STARTUP); + try { + await this.updateFromRepository(this.REPO_UPDATE_STARTUP); + } + catch (e) { + Zotero.logError(e); + } } _schemaUpdateDeferred.resolve(true); }.bind(this));