mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
zkutil: tiny logging improvement. [#METR-2807]
This commit is contained in:
parent
226ea78f5b
commit
ca6f5df30e
@ -23,7 +23,7 @@ struct WatchWithPromise : public zk::Watch
|
||||
if (notified)
|
||||
{
|
||||
LOG_WARNING(&Logger::get("WatchWithPromise"), "Ignoring event " << WatchEvent::toString(event) << " with state "
|
||||
<< SessionState::toString(state) << " for path " << path);
|
||||
<< SessionState::toString(state) << (path.empty() ? "" : " for path " + path));
|
||||
return;
|
||||
}
|
||||
promise.set_value(WatchEventInfo(event, state, path));
|
||||
|
Loading…
Reference in New Issue
Block a user