Skip to content

Commit 49ba773

Browse files
refactor: make message more concise.
Co-authored-by: Justin M. Keyes <[email protected]>
1 parent f9b88d6 commit 49ba773

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/awsService/ec2

1 file changed

+1
-1
lines changed

packages/core/src/awsService/ec2/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class Ec2Connecter implements vscode.Disposable {
216216
)
217217
} catch (err) {
218218
const message =
219-
err instanceof SshError ? `Testing SSM connection to instance failed with error: ${err.message}` : ''
219+
err instanceof SshError ? `Testing SSM connection to instance failed: ${err.message}` : ''
220220
this.throwConnectionError(message, selection, { ...(err as Error), code: 'EC2SSMTestConnect' })
221221
} finally {
222222
await this.ssmClient.terminateSession(testSession)

0 commit comments

Comments
 (0)