extra debugging to catch getFolderIdForItem errors

This commit is contained in:
Dan Mills 2009-01-02 19:35:23 -08:00
parent 84f66ce8dc
commit ff90a20ee7

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;
},