mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
myk's patch to catch and ignore a microsummary exception
This commit is contained in:
parent
58df792f30
commit
15299da484
@ -688,8 +688,11 @@ BookmarksSyncService.prototype = {
|
||||
if (command.data.type == "microsummary") {
|
||||
this._log.info(" \-> is a microsummary");
|
||||
let genURI = makeURI(command.data.generatorURI);
|
||||
let micsum = this._ms.createMicrosummary(URI, genURI);
|
||||
this._ms.setMicrosummary(newId, micsum);
|
||||
try {
|
||||
let micsum = this._ms.createMicrosummary(URI, genURI);
|
||||
this._ms.setMicrosummary(newId, micsum);
|
||||
}
|
||||
catch(ex) { /* ignore "missing local generator" exceptions */ }
|
||||
}
|
||||
break;
|
||||
case "folder":
|
||||
|
Loading…
Reference in New Issue
Block a user