Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Bug 1083839: Report warnings when non-existing entities requested. r=…
Browse files Browse the repository at this point in the history
…stas
  • Loading branch information
Zbigniew Braniecki committed Oct 23, 2014
1 parent c10d344 commit 93b3d43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/l20n/context.js
Expand Up @@ -50,6 +50,7 @@ function getWithFallback(id) {
return entry;
}

console.warn('mozL10n: A non-existing entity requested: ' + id);
error.call(this, new L10nError(id + ' not found', id));
return null;
}
Expand Down

0 comments on commit 93b3d43

Please sign in to comment.