From a85acc6c41b573a435c9f7ca9c6585bc384abd36 Mon Sep 17 00:00:00 2001 From: Yann Bertrand <5855339+yannbertrand@users.noreply.github.com> Date: Thu, 18 Aug 2022 19:01:11 +0200 Subject: [PATCH] :goal_net: Reactivate iTerm on failure --- record/record.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/record/record.js b/record/record.js index 2d4ac48..6d3209d 100644 --- a/record/record.js +++ b/record/record.js @@ -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(