Skip to content

Commit

Permalink
materialize-dynamodb: log failed batch writes in stores
Browse files Browse the repository at this point in the history
Log out information about the batch attempting to be stored if the store
operation fails.
  • Loading branch information
williamhbaker committed Sep 13, 2024
1 parent 0756999 commit ec5b2aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions materialize-dynamodb/transactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ func (t *transactor) storeWorker(ctx context.Context, batches <-chan map[string]
RequestItems: batch,
})
if err != nil {
log.WithField("batch", batch).Error("failed batch write")
return err
}

Expand Down

0 comments on commit ec5b2aa

Please sign in to comment.