Change Status::error_message()
usage to Status::message()
.
PiperOrigin-RevId: 224565798
This commit is contained in:
parent
32b1608308
commit
d09435e0cc
@ -98,7 +98,7 @@ Status DumpOpProfileToLogDirectory(StringPiece run_dir,
|
|||||||
if (!status.ok()) {
|
if (!status.ok()) {
|
||||||
return errors::Internal(
|
return errors::Internal(
|
||||||
"Failed to convert op profile to json. Skipping... ",
|
"Failed to convert op profile to json. Skipping... ",
|
||||||
string(status.error_message()));
|
string(status.message()));
|
||||||
}
|
}
|
||||||
TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json));
|
TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json));
|
||||||
if (os) {
|
if (os) {
|
||||||
|
Loading…
Reference in New Issue
Block a user