Automated rollback of commit d09435e0cc

PiperOrigin-RevId: 225064608
This commit is contained in:
A. Unique TensorFlower 2018-12-11 13:50:53 -08:00 committed by TensorFlower Gardener
parent ec6df8e4fb
commit 5dd912f2d7

View File

@ -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.message()));
string(status.error_message()));
}
TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json));
if (os) {