mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 00:17:47 -10:00
Bug 1621024 - Skip reporting errors if the file is not found in the L10nRegistry.loadSync. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D66538
This commit is contained in:
1 parent
8a058c9928
commit
1169019665
1 file changed
+3
-1
@@ -670,7 +670,9 @@ L10nRegistry.loadSync = function(uri) {
|
||||
charset: "UTF-8",
|
||||
});
|
||||
} catch (e) {
|
||||
Cu.reportError(e);
|
||||
if (e.result != Cr.NS_ERROR_FILE_NOT_FOUND) {
|
||||
Cu.reportError(e);
|
||||
}
|
||||
}
|
||||
} else if (e.result != Cr.NS_ERROR_FILE_NOT_FOUND) {
|
||||
Cu.reportError(e);
|
||||
|
||||
Reference in new issue
Block a user