mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
extra debugging to catch getFolderIdForItem errors
This commit is contained in:
parent
84f66ce8dc
commit
ff90a20ee7
@ -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;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user