Add debugging info for weird sync error
This commit is contained in:
parent
04aa20b18f
commit
92c6874475
1 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue