extra debugging to catch getFolderIdForItem errors

This commit is contained in:
Dan Mills 2009-01-02 19:35:23 -08:00
parent cc914050b2
commit df54949485

View File

@ -190,8 +190,13 @@ BookmarksStore.prototype = {
return true;
if (placeId == this._bms.unfiledBookmarksFolder)
return true;
if (this._bms.getFolderIdForItem(placeId) < 0)
return true;
try {
if (this._bms.getFolderIdForItem(placeId) < 0)
return true;
} catch (e) {
this._log.debug("Oops! Failed for place ID: " + placeId);
throw e;
}
return false;
},