Additional logging for "Invalid sync state undefined"

https://forums.zotero.org/discussion/102186/invalid-sync-state-undefined
This commit is contained in:
Dan Stillman 2023-01-07 15:24:28 -05:00
parent ffc8088ccd
commit 437b457134

View file

@ -327,7 +327,8 @@ Zotero.Sync.Storage.Engine.prototype.queueItem = Zotero.Promise.coroutine(functi
return;
default:
throw new Error("Invalid sync state " + item.attachmentSyncState);
throw new Error("Invalid sync state " + item.attachmentSyncState + " for item "
+ item.libraryKey);
}
if (type == 'upload') {