Fix audio captcha error
This commit is contained in:
parent
12515eac74
commit
eb959fbeee
@ -24,7 +24,7 @@ export const audio = (config: AudioConfig) => async (
|
|||||||
speech = await speak(captcha, commands)
|
speech = await speak(captcha, commands)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error('Error generating speech: %s', err.stack)
|
logger.error('Error generating speech: %s', err.stack)
|
||||||
res.status(200)
|
res.status(500)
|
||||||
res.send('Internal server error')
|
res.send('Internal server error')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user