From 07045bc45131c8869f5b51339364e0fb69b548ec Mon Sep 17 00:00:00 2001 From: lgbo-ustc Date: Tue, 7 Dec 2021 11:18:44 +0800 Subject: [PATCH] fixed a exception message --- src/IO/RemoteReadBufferCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IO/RemoteReadBufferCache.cpp b/src/IO/RemoteReadBufferCache.cpp index 36680063c5f..357c85de5a6 100644 --- a/src/IO/RemoteReadBufferCache.cpp +++ b/src/IO/RemoteReadBufferCache.cpp @@ -231,7 +231,7 @@ void RemoteCacheController::deallocFile(std::unique_ptr { if (!file_buffer) { - throw Exception(ErrorCodes::BAD_ARGUMENTS, "Try to release a null file buffer for ", local_path.string()); + throw Exception(ErrorCodes::BAD_ARGUMENTS, "Try to release a null file buffer for {}", local_path.string()); } auto buffer_ref = reinterpret_cast(file_buffer.get()); std::lock_guard lock{mutex};