🥅 Reactivate iTerm on failure

This commit is contained in:
Yann Bertrand 2022-08-18 19:01:11 +02:00
parent a347f72f7a
commit a85acc6c41

View file

@ -35,6 +35,8 @@ module.exports = async (files) => {
`\nAll videos and screenshots were successfully recorded. You can use your mouse again\n`
)
} catch (error) {
await makeAppActive('iTerm')
if (error.code === 'RECORDER_TIMEOUT') {
console.info('The recorder timed out.')
console.info(