diff --git a/dl/io/dl_file.cpp b/dl/io/dl_file.cpp index 81f3e7ad..a8b97438 100644 --- a/dl/io/dl_file.cpp +++ b/dl/io/dl_file.cpp @@ -808,7 +808,6 @@ bool File::IsExist(std::string_view path_name) { if (path_name.empty()) { - log_err("路径为空!"); return false; } try @@ -818,11 +817,9 @@ bool File::IsExist(std::string_view path_name) } catch (std::filesystem::filesystem_error& e) { - log_err("{}", e.what()); } catch (...) { - log_err("未知异常!"); } return false; }