diff --git a/mobile/android/components/Snippets.js b/mobile/android/components/Snippets.js index d980a7096d9..6438736709b 100644 --- a/mobile/android/components/Snippets.js +++ b/mobile/android/components/Snippets.js @@ -136,9 +136,8 @@ function cacheSnippets(response) { function loadSnippetsFromCache() { let promise = OS.File.read(gSnippetsPath); promise.then(array => updateBanner(gDecoder.decode(array)), e => { - // If snippets.json doesn't exist, update data from the server. if (e instanceof OS.File.Error && e.becauseNoSuchFile) { - update(); + Cu.reportError("Couldn't show snippets because cache does not exist yet."); } else { Cu.reportError("Error loading snippets from cache: " + e); }