Bug 974925 - Change snippets error message into a log message. r=bnicholson

This commit is contained in:
Margaret Leibovic 2014-03-06 09:25:08 -08:00
parent bd2470a3f6
commit c2c4bb1df1

View File

@ -151,7 +151,7 @@ function loadSnippetsFromCache() {
updateBanner(messages);
}, e => {
if (e instanceof OS.File.Error && e.becauseNoSuchFile) {
Cu.reportError("Couldn't show snippets because cache does not exist yet.");
Services.console.logStringMessage("Couldn't show snippets because cache does not exist yet.");
} else {
Cu.reportError("Error loading snippets from cache: " + e);
}