aws / aws-xray-sdk-node

The official AWS X-Ray SDK for Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client doesn't check if middlewareStack is present on client and crashes

mrjomp opened this issue · comments

// Remove existing middleware to ensure operation is idempotent

Hi @mrjomp - we don't check because middlewareStack is a required member of the Client object in the AWS SDK's TS definition, do you have a reproduction case of this error?

https://github.com/aws/aws-sdk-js-v3/blob/df1304fa/packages/types/src/client.ts#L32