From b42b310d678e5330a3e3bc0d26ce3f27e3bc77ea Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 2 Dec 2009 23:57:55 +0000 Subject: [PATCH] Add some debugging for a sync problem --- chrome/content/zotero/xpcom/sync.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 40701310b..7be7def74 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -3314,6 +3314,9 @@ Zotero.Sync.Server.Data = new function() { var libraryID = item.creators[index].libraryID ? item.creators[index].libraryID : Zotero.libraryID; var key = item.creators[index].key; if (!key) { + Zotero.debug('=========='); + Zotero.debug(index); + Zotero.debug(item); throw ("Creator key not set for item in Zotero.Sync.Server.sync()"); } newCreator.@libraryID = libraryID;