From d09435e0cc8b21e5b10eb0f9750e7a24c2031e85 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 7 Dec 2018 13:13:45 -0800 Subject: [PATCH] Change `Status::error_message()` usage to `Status::message()`. PiperOrigin-RevId: 224565798 --- tensorflow/contrib/tpu/profiler/dump_tpu_profile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/contrib/tpu/profiler/dump_tpu_profile.cc b/tensorflow/contrib/tpu/profiler/dump_tpu_profile.cc index b4b06a40a2c..ef35e84ba52 100644 --- a/tensorflow/contrib/tpu/profiler/dump_tpu_profile.cc +++ b/tensorflow/contrib/tpu/profiler/dump_tpu_profile.cc @@ -98,7 +98,7 @@ Status DumpOpProfileToLogDirectory(StringPiece run_dir, if (!status.ok()) { return errors::Internal( "Failed to convert op profile to json. Skipping... ", - string(status.error_message())); + string(status.message())); } TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json)); if (os) {