We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc83a6 commit dc961c9Copy full SHA for dc961c9
1 file changed
src/sinks/dynamodb.js
@@ -102,7 +102,7 @@ export const updateDynamoDB = ({
102
if (isEmpty(updateResponse) && uow[fallbackUpdateRequestField] && !isFallback) {
103
// If its empty, that indicates a conditional write failure, in that case we want to run the fallback
104
// update, if present.
105
- return p(uow[fallbackUpdateRequestField], true)();
+ return uow.metrics?.w(p(uow[fallbackUpdateRequestField], true)) || p(uow[fallbackUpdateRequestField], true)();
106
} else {
107
return { ...uow, [updateResponseField]: updateResponse };
108
}
0 commit comments