Debugging for failed file downloads
This commit is contained in:
parent
6c0be3426b
commit
f510bd9d64
|
@ -811,6 +811,12 @@ Zotero.Sync.Storage.ZFS = (function () {
|
||||||
+ " in Zotero.Sync.Storage.ZFS.downloadFile()";
|
+ " in Zotero.Sync.Storage.ZFS.downloadFile()";
|
||||||
Zotero.debug(msg, 1);
|
Zotero.debug(msg, 1);
|
||||||
Components.utils.reportError(msg);
|
Components.utils.reportError(msg);
|
||||||
|
try {
|
||||||
|
Zotero.debug(Zotero.File.getContents(destFile, null, 4096), 1);
|
||||||
|
}
|
||||||
|
catch (e) {
|
||||||
|
Zotero.debug(e, 1);
|
||||||
|
}
|
||||||
deferred.reject(Zotero.Sync.Storage.defaultError);
|
deferred.reject(Zotero.Sync.Storage.defaultError);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user