[XLA] Change backtrace logging from WARNING to VLOG(1)
PiperOrigin-RevId: 162995303
This commit is contained in:
parent
cb30d1f9b6
commit
a976910e83
@ -34,8 +34,8 @@ namespace {
|
||||
// Logs the provided status message with a backtrace.
|
||||
Status WithLogBacktrace(const Status& status) {
|
||||
CHECK(!status.ok());
|
||||
LOG(WARNING) << status.ToString();
|
||||
LOG(WARNING) << tensorflow::CurrentStackTrace();
|
||||
VLOG(1) << status.ToString();
|
||||
VLOG(1) << tensorflow::CurrentStackTrace();
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user