From 3078da75b3729c6d1e26d4333252306ff7ad239d Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 5 Feb 2018 03:42:38 +0300 Subject: [PATCH] Ignore failed file directory creations. GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0 --- td/telegram/files/FileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index 5f506a02b..2a38dbe8f 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -399,7 +399,7 @@ FileManager::FileManager(std::unique_ptr context) : context_(std::move( if (r_stat.is_ok() && r_stat.ok().is_dir_) { LOG(ERROR) << "mkdir " << tag("path", path) << " failed " << status << ", but directory exists"; } else { - LOG(FATAL) << "mkdir " << tag("path", path) << " failed " << status; + LOG(ERROR) << "mkdir " << tag("path", path) << " failed " << status; } } #if TD_ANDROID