Add some debugging for a sync problem
This commit is contained in:
parent
0fe5389858
commit
b42b310d67
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue