Skip to content

Commit 8ef5619

Browse files
committed
refactor: avoid typing error
1 parent 605ce26 commit 8ef5619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/clients/clientWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export abstract class ClientWrapper<C extends AwsClient> implements vscode.Dispo
4343
const perflog = new PerfLog(action)
4444
return await this.getClient()
4545
.send(new command(commandOptions))
46-
.catch((e: Error) => {
46+
.catch((e) => {
4747
const errWithoutStack = { ...e, name: e.name, message: e.message }
4848
delete errWithoutStack['stack']
4949
const timecost = perflog.elapsed().toFixed(1)

0 commit comments

Comments
 (0)