mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/client/sync: Fix unmatched debuglog message at polylog handler completion.
This commit is contained in:
parent
9e96863922
commit
1d45c9aecd
1 changed files with 17 additions and 10 deletions
|
@ -1020,16 +1020,23 @@ try
|
||||||
if(!ret)
|
if(!ret)
|
||||||
checkpoint.committing(false);
|
checkpoint.committing(false);
|
||||||
|
|
||||||
if(!data.phased && stats::info)
|
const auto &log_level
|
||||||
log::info
|
{
|
||||||
{
|
!data.phased && stats::info?
|
||||||
log, "request %s polylog commit:%b complete @%ld",
|
log::level::INFO:
|
||||||
loghead(data),
|
log::level::DEBUG
|
||||||
ret,
|
};
|
||||||
data.phased?
|
|
||||||
data.range.first:
|
log::logf
|
||||||
data.range.second
|
{
|
||||||
};
|
log, log_level,
|
||||||
|
"request %s polylog commit:%b complete @%ld",
|
||||||
|
loghead(data),
|
||||||
|
ret,
|
||||||
|
data.phased?
|
||||||
|
data.range.first:
|
||||||
|
data.range.second
|
||||||
|
};
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue