Fix error reporting for download failure on attachment open
This commit is contained in:
parent
49d3bae256
commit
e7ddf810c0
2 changed files with 2 additions and 2 deletions
|
@ -1612,7 +1612,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
||||||
if (!buttonText) {
|
if (!buttonText) {
|
||||||
buttonText = Zotero.getString('errorReport.reportError');
|
buttonText = Zotero.getString('errorReport.reportError');
|
||||||
buttonCallback = function () {
|
buttonCallback = function () {
|
||||||
ZoteroPane.reportErrors();
|
Zotero.getActiveZoteroPane().reportErrors();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4850,7 +4850,7 @@ var ZoteroPane = new function()
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
// TODO: show error somewhere else
|
// TODO: show error somewhere else
|
||||||
Zotero.debug(e, 1);
|
Zotero.logError(e);
|
||||||
Zotero.Sync.Runner.alert(e);
|
Zotero.Sync.Runner.alert(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue