We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9cff0 commit bc6d614Copy full SHA for bc6d614
struct2tensor/kernels/decode_proto_sparse_op.cc
@@ -378,7 +378,7 @@ class FieldBuilderImpl : public FieldBuilder {
378
Status CollectValue(CodedInputStream* input, int64_t message_index) {
379
T value;
380
if (!ReadFieldValue<T, DataType>(input, &value)) {
381
- return DataLoss("Failed to parse field.");
+ return DataLoss("Failed to parse field: ", value);
382
}
383
if (is_repeated_ || parent_indices_.empty() ||
384
parent_indices_.back() != message_index) {
0 commit comments