mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
Log exception
This commit is contained in:
parent
08920b1fe1
commit
d5b138eee4
@ -231,6 +231,8 @@ void CachedOnDiskWriteBufferFromFile::nextImpl()
|
|||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
tryLogCurrentException(__PRETTY_FUNCTION__);
|
||||||
|
|
||||||
/// If something was already written to cache, remove it.
|
/// If something was already written to cache, remove it.
|
||||||
cache_writer.reset();
|
cache_writer.reset();
|
||||||
cache->removeKeyIfExists(key);
|
cache->removeKeyIfExists(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user