Log exception

This commit is contained in:
kssenii 2023-12-28 13:41:07 +01:00
parent 08920b1fe1
commit d5b138eee4

View File

@ -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);