From cdffe09c31471c875c6dcd3d95b3a7e9690eb65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E4=BB=A8?= <9795869+e2long@user.noreply.gitee.com> Date: Mon, 6 May 2024 18:13:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=84=E7=90=86=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dl/io/dl_file.cpp | 3 --- 1 file changed, 3 deletions(-) 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; }