Skip to content

Commit b10b74c

Browse files
committed
Merge branch 'hkobew/ec2/remoteConnect/sshKeysNew' of https://github.com/aws/aws-toolkit-vscode into hkobew/ec2/remoteConnect/sshKeysNew
2 parents ba6afbf + c8f5cd3 commit b10b74c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ec2/sshKeyPair.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class SshKeyPair {
2424
const process = new ChildProcess(`ssh-keygen`, ['-t', 'rsa', '-N', '', '-q', '-f', keyPath])
2525
const result = await process.run()
2626
if (result.exitCode !== 0) {
27-
throw new ToolkitError('ec2: Failed to generate ssh key')
27+
throw new ToolkitError('ec2: Failed to generate ssh key', { details: { stdout: result.stdout } })
2828
}
2929
}
3030

src/shared/clients/ssmClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export class SsmClient {
6464

6565
public async getTargetPlatformName(target: string): Promise<string> {
6666
const instanceInformation = await this.describeInstance(target)
67+
6768
return instanceInformation.PlatformName!
6869
}
6970

0 commit comments

Comments
 (0)