less spooky errors
This commit is contained in:
parent
b08df84282
commit
d3d4b899d2
1 changed files with 5 additions and 1 deletions
|
|
@ -25,7 +25,11 @@ const getAllAccessibleAnnotations = async (projectRoot) => {
|
||||||
await access(importFile)
|
await access(importFile)
|
||||||
return `'${lang}': () => import('${importModule}')`
|
return `'${lang}': () => import('${importModule}')`
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
if (e.message.match(/ENOENT/)) {
|
||||||
|
console.warn(`Missing emoji annotations locale: ${destLang}`)
|
||||||
|
} else {
|
||||||
|
console.error('test', e.message)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue