Skip to content

Commit

Permalink
Add print access dir error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Jul 20, 2024
1 parent cfd2402 commit d80e38c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proxy/include/proxy/proxy_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3581,7 +3581,15 @@ R"x*x*x(<html>
fs::directory_iterator end;
fs::directory_iterator it(path, ec);
if (ec)
{
XLOG_DBG << "connection id: "
<< m_connection_id
<< ", format_path_list read dir: "
<< path
<< ", error: "
<< ec.message();
return {};
}

std::vector<std::wstring> path_list;
std::vector<std::wstring> file_list;
Expand Down

0 comments on commit d80e38c

Please sign in to comment.