From 2627475cc853580e7b1544730d4bed8d87351d4e Mon Sep 17 00:00:00 2001 From: Zibi Braniecki Date: Fri, 27 Dec 2019 16:05:26 +0000 Subject: [PATCH] Bug 1605489 - Do not report missing files from L10nRegistry.loadSync to the console. r=mossop Differential Revision: https://phabricator.services.mozilla.com/D58152 --HG-- extra : moz-landing-system : lando --- intl/l10n/L10nRegistry.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intl/l10n/L10nRegistry.jsm b/intl/l10n/L10nRegistry.jsm index eb13dd18a07d..deba619ff4ab 100644 --- a/intl/l10n/L10nRegistry.jsm +++ b/intl/l10n/L10nRegistry.jsm @@ -777,7 +777,7 @@ this.L10nRegistry.loadSync = function(uri) { } catch (e) { Cu.reportError(e); } - } else { + } else if (e.result != Cr.NS_ERROR_FILE_NOT_FOUND) { Cu.reportError(e); } }