mirror of
https://github.com/matrix-construct/construct
synced 2025-01-16 01:26:58 +01:00
ircd::db: Additional iterator validity indication in logmsg.
This commit is contained in:
parent
901890d2af
commit
c89ddc4cbf
1 changed files with 2 additions and 1 deletions
|
@ -7815,12 +7815,13 @@ catch(const error &e)
|
||||||
const database &d(*c.d);
|
const database &d(*c.d);
|
||||||
log::critical
|
log::critical
|
||||||
{
|
{
|
||||||
log, "[%s][%s] %lu:%lu SEEK %s :%s",
|
log, "[%s][%s] %lu:%lu SEEK %s %s :%s",
|
||||||
name(d),
|
name(d),
|
||||||
name(c),
|
name(c),
|
||||||
sequence(d),
|
sequence(d),
|
||||||
sequence(opts.snapshot),
|
sequence(opts.snapshot),
|
||||||
reflect(p),
|
reflect(p),
|
||||||
|
it.Valid()? "VALID" : "INVALID",
|
||||||
e.what(),
|
e.what(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue