Add some debugging for a sync problem
This commit is contained in:
parent
0fe5389858
commit
b42b310d67
|
@ -3314,6 +3314,9 @@ Zotero.Sync.Server.Data = new function() {
|
||||||
var libraryID = item.creators[index].libraryID ? item.creators[index].libraryID : Zotero.libraryID;
|
var libraryID = item.creators[index].libraryID ? item.creators[index].libraryID : Zotero.libraryID;
|
||||||
var key = item.creators[index].key;
|
var key = item.creators[index].key;
|
||||||
if (!key) {
|
if (!key) {
|
||||||
|
Zotero.debug('==========');
|
||||||
|
Zotero.debug(index);
|
||||||
|
Zotero.debug(item);
|
||||||
throw ("Creator key not set for item in Zotero.Sync.Server.sync()");
|
throw ("Creator key not set for item in Zotero.Sync.Server.sync()");
|
||||||
}
|
}
|
||||||
newCreator.@libraryID = libraryID;
|
newCreator.@libraryID = libraryID;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user