Skip to content

Commit 312c93c

Browse files
committed
refactor: add depth field to partialClone
1 parent 3cec376 commit 312c93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/awsClientBuilderV3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const telemetryMiddleware: DeserializeMiddleware<any, any> =
143143
const result = await next(args).catch((e: any) => logAndThrow(e, serviceId, logTail))
144144
if (HttpResponse.isInstance(result.response)) {
145145
// TODO: omit credentials / sensitive info from the logs / telemetry.
146-
const output = partialClone(result.output)
146+
const output = partialClone(result.output, 3)
147147
getLogger().debug('API Response %s: %O', logTail, output)
148148
}
149149

0 commit comments

Comments
 (0)