From 8a57a544f76d1d5496549321ac460fe2926259ee Mon Sep 17 00:00:00 2001 From: admin <964472638@qq.com> Date: Wed, 17 Jan 2024 17:35:00 +0800 Subject: [PATCH] add log --- src/Http/HttpBody.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Http/HttpBody.cpp b/src/Http/HttpBody.cpp index 4a18ffd1..a73750b9 100644 --- a/src/Http/HttpBody.cpp +++ b/src/Http/HttpBody.cpp @@ -155,6 +155,7 @@ static std::shared_ptr getSharedMmap(const string &file_path, int64_t &fil if (addr_ == nullptr) { mmap_close(hfile, hmapping, addr_); + WarnL << "MapViewOfFile() " << file_path << " failed:"; return nullptr; }