mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 06:51:08 +01:00
modules/client/sync: Use a real error log message on polylog sync backout.
This commit is contained in:
parent
8d819cd3f5
commit
7f4716c5e5
1 changed files with 7 additions and 1 deletions
|
@ -591,7 +591,13 @@ polylog_sync(client &client,
|
||||||
{
|
{
|
||||||
const unwind::exceptional uw{[&sp]
|
const unwind::exceptional uw{[&sp]
|
||||||
{
|
{
|
||||||
std::cout << "polylog sync ERROR: " << sp.since << " to " << sp.current << " (though: " << m::vm::current_sequence << ") " << std::endl;
|
log::error
|
||||||
|
{
|
||||||
|
"polylog sync ERROR %lu to %lu (vm @ %zu)"
|
||||||
|
,sp.since
|
||||||
|
,sp.current
|
||||||
|
,m::vm::current_sequence
|
||||||
|
};
|
||||||
}};
|
}};
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue