mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
extra debugging to catch getFolderIdForItem errors
This commit is contained in:
parent
cc914050b2
commit
df54949485
@ -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