Fix audio captcha error

This commit is contained in:
Jerko Steiner 2020-01-09 10:47:02 +01:00
parent 12515eac74
commit eb959fbeee

View File

@ -24,7 +24,7 @@ export const audio = (config: AudioConfig) => async (
speech = await speak(captcha, commands)
} catch (err) {
logger.error('Error generating speech: %s', err.stack)
res.status(200)
res.status(500)
res.send('Internal server error')
return
}