mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fix build after merge
This commit is contained in:
parent
507d98b24b
commit
4bb3381bc9
@ -93,14 +93,14 @@ ReadBufferFromKafkaConsumer::~ReadBufferFromKafkaConsumer()
|
||||
}
|
||||
catch (const cppkafka::HandleException & e)
|
||||
{
|
||||
LOG_ERROR(log, "Error during unsubscribe: " << e.what());
|
||||
LOG_ERROR(log, "Error during unsubscribe: {}", e.what());
|
||||
}
|
||||
drain();
|
||||
}
|
||||
}
|
||||
catch (const cppkafka::HandleException & e)
|
||||
{
|
||||
LOG_ERROR(log, "Error while destructing consumer: " << e.what());
|
||||
LOG_ERROR(log, "Error while destructing consumer: {}", e.what());
|
||||
}
|
||||
|
||||
}
|
||||
@ -130,7 +130,7 @@ void ReadBufferFromKafkaConsumer::drain()
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_ERROR(log, "Error during draining: " << error);
|
||||
LOG_ERROR(log, "Error during draining: {}", error);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user