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};