We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc61645 commit c99618aCopy full SHA for c99618a
ergodox-screenshot-layout/index.js
@@ -35,7 +35,11 @@ const argv = yargs.command(
35
return getKeyboardLayoutScreenshot({
36
pathToLayoutJson: argv.file,
37
screenshotFilename: argv.dest,
38
- headless: argv.headless,
+ headless: argv.headless
39
+ }).catch(error => {
40
+ console.error(error);
41
+ console.error(new Error("Crashed. 👻"));
42
+ process.exit(1);
43
});
44
}
45
).argv;
0 commit comments