diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 9edbc60220..5823a250e3 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -380,10 +380,8 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); // Get startup errors try { - var messages = {}; - Services.console.getMessageArray(messages, {}); - _startupErrors = Object.keys(messages.value).map(i => messages[i]) - .filter(msg => _shouldKeepError(msg)); + let messages = Services.console.getMessageArray(); + _startupErrors = messages.filter(msg => _shouldKeepError(msg)); } catch(e) { Zotero.logError(e); }