mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 06:03:03 +00:00
set log level to info for unsupported languages
GitOrigin-RevId: 4355c66c57dfb8afd942e550c6700d87a88f0f2b
This commit is contained in:
parent
b3501a40e3
commit
0d00aa5500
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module.exports = {
|
|||
proxyRequestToSpellingApi(req, res) {
|
||||
const { language } = req.body
|
||||
if (language && !languageCodeIsSupported(language)) {
|
||||
logger.warn(`language_code=${language} not supported`)
|
||||
logger.info({ language }, `language not supported`)
|
||||
return res.status(200).send(JSON.stringify({ misspellings: [] }))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue