Bug 398969 - "SessionStore: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsICrashReporter.annotateCrashReport]"" [p=f.qu@queze.net (Florian Qu��ze) r=gavin aM9=beltzner]

This commit is contained in:
reed%reedloden.com 2007-10-26 19:42:24 +00:00
Родитель 3d60ed203f
Коммит 26b4fe7512
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1979,7 +1979,11 @@ SessionStoreService.prototype = {
var cr = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsICrashReporter);
cr.annotateCrashReport("URL", currentUrl);
}
catch (ex) { debug(ex); }
catch (ex) {
// don't make noise when crashreporter is built but not enabled
if (ex.result != Components.results.NS_ERROR_NOT_INITIALIZED)
debug(ex);
}
},
/**