Ignore failed file directory creations.

GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0
This commit is contained in:
levlam 2018-02-05 03:42:38 +03:00
parent 3146ccee03
commit 3078da75b3

View File

@ -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