diff options
author | James Keeling <jtkeeling@google.com> | 2018-07-16 06:22:57 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-16 06:26:27 -0700 |
commit | 00ac59bb3e6808da419488046e66d76043316b62 (patch) | |
tree | ad25c23e73cfeaf8d7fbfd235ad397e063501e63 /tensorflow/core/protobuf | |
parent | 5f173dbf165991306f9327ee2499dc4321c40e94 (diff) |
Add experimental config field to output interpolatable error messages
This is part of our effort to improve Python error messages by allowing the runtime to output formatted messages for the Python layer to interpolate. This will be gated by this config field to begin with.
PiperOrigin-RevId: 204731230
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r-- | tensorflow/core/protobuf/config.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/config.proto b/tensorflow/core/protobuf/config.proto index 5b6aa47b93..77639461d9 100644 --- a/tensorflow/core/protobuf/config.proto +++ b/tensorflow/core/protobuf/config.proto @@ -389,6 +389,9 @@ message ConfigProto { message Experimental { // Task name for group resolution. string collective_group_leader = 1; + // Whether the client will format templated errors. For example, the string: + // "The node was defined on ^^node:Foo:${file}:${line}^^". + bool client_handles_error_formatting = 2; }; Experimental experimental = 16; |