1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00

Merge pull request #5534 from whymarrh/i18n-warnings

Lower i18n-helper#getMessage log level from error to warning
This commit is contained in:
Whymarrh Whitby 2018-10-16 20:06:42 -02:30 committed by GitHub
commit 8bccb88132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ const getMessage = (locale, key, substitutions) => {
return null
}
if (!locale[key]) {
log.error(`Translator - Unable to find value for key "${key}"`)
log.warn(`Translator - Unable to find value for key "${key}"`)
return null
}
const entry = locale[key]