Ignore failed file directory creations.
GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0
This commit is contained in:
parent
3146ccee03
commit
3078da75b3
@ -399,7 +399,7 @@ FileManager::FileManager(std::unique_ptr<Context> context) : context_(std::move(
|
|||||||
if (r_stat.is_ok() && r_stat.ok().is_dir_) {
|
if (r_stat.is_ok() && r_stat.ok().is_dir_) {
|
||||||
LOG(ERROR) << "mkdir " << tag("path", path) << " failed " << status << ", but directory exists";
|
LOG(ERROR) << "mkdir " << tag("path", path) << " failed " << status << ", but directory exists";
|
||||||
} else {
|
} else {
|
||||||
LOG(FATAL) << "mkdir " << tag("path", path) << " failed " << status;
|
LOG(ERROR) << "mkdir " << tag("path", path) << " failed " << status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if TD_ANDROID
|
#if TD_ANDROID
|
||||||
|
Reference in New Issue
Block a user