diff options
Diffstat (limited to 'tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc')
-rw-r--r-- | tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc b/tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc index f43b44f2cb..24be38758f 100644 --- a/tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc +++ b/tensorflow/contrib/bigtable/kernels/bigtable_kernels.cc @@ -240,6 +240,12 @@ class ToBigtableOp : public AsyncOpKernel { grpc::Status mutation_status; std::vector<::google::cloud::bigtable::FailedMutation> failures = resource->table().BulkApply(std::move(mutation), mutation_status); + if (!mutation_status.ok()) { + LOG(ERROR) << "Failure applying mutation: " + << mutation_status.error_code() << " - " + << mutation_status.error_message() << " (" + << mutation_status.error_details() << ")."; + } if (!failures.empty()) { for (const auto& failure : failures) { LOG(ERROR) << "Failure applying mutation on row (" |