We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ed468 commit c8f5cd3Copy full SHA for c8f5cd3
src/ec2/sshKeyPair.ts
@@ -24,7 +24,7 @@ export class SshKeyPair {
24
const process = new ChildProcess(`ssh-keygen`, ['-t', 'rsa', '-N', '', '-q', '-f', keyPath])
25
const result = await process.run()
26
if (result.exitCode !== 0) {
27
- throw new ToolkitError('ec2: Failed to generate ssh key')
+ throw new ToolkitError('ec2: Failed to generate ssh key', { details: { stdout: result.stdout } })
28
}
29
30
0 commit comments