myk's patch to catch and ignore a microsummary exception

This commit is contained in:
cbeard@h-135.office.mozilla.org 2007-10-16 15:29:02 -07:00
parent 58df792f30
commit 15299da484

View File

@ -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":