Skip to content

Commit

Permalink
chore: better error messages for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
seidior committed Aug 9, 2024
1 parent f739976 commit e16ea1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/db/DynamoUserDataClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const DynamoUserDataClient = (db: DynamoDBDocumentClient, tableName: stri
})
.catch((error) => {
console.log(error);
throw new Error("Not found");
throw new Error(`Not found: ${error}`);
});
};

Expand Down

0 comments on commit e16ea1f

Please sign in to comment.