www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 92c6874475f7097f4b8c6ab461b11f93bf7f92e9
parent 04aa20b18f8a4905e1e146ef59c2e44e626142a6
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 13 Dec 2009 03:58:36 +0000

Add debugging info for weird sync error


Diffstat:
Mchrome/content/zotero/xpcom/storage/zfs.js | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js @@ -105,9 +105,14 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getStorageFileInfo = function (item, info.compressed = req.getResponseHeader('X-Zotero-Compressed') == 'Yes'; Zotero.debug(info); - if (!info) { - callback(item, false); - return; + if (!info.hash) { + Zotero.debug('========'); + Zotero.debug("Hash not found in HEAD response in " + funcName, 2); + Zotero.debug(req.status); + Zotero.debug(item.key); + Zotero.debug(req.responseText); + //callback(item, false); + //return; } callback(item, info);