diff --git a/chrome/content/zotero/xpcom/sync/syncRunner.js b/chrome/content/zotero/xpcom/sync/syncRunner.js index b695b5bc11..2786ee787d 100644 --- a/chrome/content/zotero/xpcom/sync/syncRunner.js +++ b/chrome/content/zotero/xpcom/sync/syncRunner.js @@ -1612,7 +1612,7 @@ Zotero.Sync.Runner_Module = function (options = {}) { if (!buttonText) { buttonText = Zotero.getString('errorReport.reportError'); buttonCallback = function () { - ZoteroPane.reportErrors(); + Zotero.getActiveZoteroPane().reportErrors(); }; } diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index e195ca030b..76599f9359 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -4850,7 +4850,7 @@ var ZoteroPane = new function() } catch (e) { // TODO: show error somewhere else - Zotero.debug(e, 1); + Zotero.logError(e); Zotero.Sync.Runner.alert(e); return; }