commit f510bd9d6410be6e3edc85c917ce8cdd25499f04
parent 6c0be3426bc5942ee04a0a27af97ce94d0a10ed5
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 9 Sep 2013 16:47:15 -0400
Debugging for failed file downloads
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js
@@ -811,6 +811,12 @@ Zotero.Sync.Storage.ZFS = (function () {
+ " in Zotero.Sync.Storage.ZFS.downloadFile()";
Zotero.debug(msg, 1);
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);
return;
}