Fix feed item guid in logged warning when item exists in different feed

This commit is contained in:
Dan Stillman 2022-02-04 02:17:22 -05:00
parent e8b574da0b
commit c78bf1b2a3

View file

@ -450,8 +450,8 @@ Zotero.Feed.prototype._updateFeed = Zotero.Promise.coroutine(function* () {
// that works with sync. // that works with sync.
if (feedItem.libraryID != this.libraryID) { if (feedItem.libraryID != this.libraryID) {
let otherFeed = Zotero.Feeds.get(feedItem.libraryID); let otherFeed = Zotero.Feeds.get(feedItem.libraryID);
Zotero.debug("Feed item " + feedItem.url + " from " + this.url + Zotero.debug("Feed item " + feedItem.guid + " from " + this.url
" exists in a different feed " + otherFeed.url + ". Skipping"); + " exists in a different feed " + otherFeed.url + ". Skipping");
continue; continue;
} }