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 12:42:24 -07:00
Родитель 137ff32360
Коммит 51c0bef5a7
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);
}
},
/**