From 92c6874475f7097f4b8c6ab461b11f93bf7f92e9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 13 Dec 2009 03:58:36 +0000 Subject: [PATCH] Add debugging info for weird sync error --- chrome/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 index e552d36e6..67512cba0 100644 --- 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);