about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/tensorflow/system-protobuf.patch
blob: dce6df810464f24e4ad7294f9d866f28186bced3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tensorflow/core/kernels/example_parsing_ops.cc b/tensorflow/core/kernels/example_parsing_ops.cc
index a1265cfb5c6..ada919bbd7b 100644
--- a/tensorflow/core/kernels/example_parsing_ops.cc
+++ b/tensorflow/core/kernels/example_parsing_ops.cc
@@ -1218,7 +1218,7 @@ class DecodeJSONExampleOp : public OpKernel {
           resolver_.get(), "type.googleapis.com/tensorflow.Example", &in, &out);
       OP_REQUIRES(ctx, status.ok(),
                   errors::InvalidArgument("Error while parsing JSON: ",
-                                          string(status.error_message())));
+                                          string(status.message())));
     }
   }