Fix wrong log message

This commit is contained in:
Alexey Milovidov 2022-12-26 18:35:20 +01:00
parent 3555017336
commit 4f3db6a63a

View File

@ -676,7 +676,7 @@ void ZooKeeper::receiveThread()
if (earliest_operation)
{
throw Exception(Error::ZOPERATIONTIMEOUT, "Operation timeout (no response) for request {} for path: {}",
earliest_operation->request->getOpNum(), earliest_operation->request->getPath());
toString(earliest_operation->request->getOpNum()), earliest_operation->request->getPath());
}
waited_us += max_wait_us;
if (waited_us >= args.session_timeout_ms * 1000)