diff --git a/src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp b/src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp index 48e12c7b9b9..44ca67b5df8 100644 --- a/src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp +++ b/src/Disks/IO/CachedOnDiskWriteBufferFromFile.cpp @@ -231,6 +231,8 @@ void CachedOnDiskWriteBufferFromFile::nextImpl() } catch (...) { + tryLogCurrentException(__PRETTY_FUNCTION__); + /// If something was already written to cache, remove it. cache_writer.reset(); cache->removeKeyIfExists(key);