Fix error reporting for download failure on attachment open

This commit is contained in:
Dan Stillman 2024-06-16 05:48:12 -04:00
parent 49d3bae256
commit e7ddf810c0
2 changed files with 2 additions and 2 deletions

View file

@ -1612,7 +1612,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
if (!buttonText) {
buttonText = Zotero.getString('errorReport.reportError');
buttonCallback = function () {
ZoteroPane.reportErrors();
Zotero.getActiveZoteroPane().reportErrors();
};
}

View file

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