diff --git a/package.json b/package.json index 2a8f322..757a17d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moicky/dynamodb", - "version": "2.5.1", + "version": "2.5.2", "main": "dist/index.js", "types": "dist/index.d.ts", "description": "Contains a collection of convenience functions for working with AWS DynamoDB", diff --git a/src/transactions/index.ts b/src/transactions/index.ts index f2dd67b..dcded9f 100644 --- a/src/transactions/index.ts +++ b/src/transactions/index.ts @@ -222,8 +222,6 @@ export class Transaction { ...args, } satisfies TransactWriteItemsCommandInput; - return getClient() - .send(new TransactWriteItemsCommand(input)) - .catch((err) => ({ ...err, args: input })); + return getClient().send(new TransactWriteItemsCommand(input)); } }