0
0
Fork 0
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:
Jason Volk 2018-05-03 20:11:16 -07:00
parent 8d819cd3f5
commit 7f4716c5e5

View file

@ -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
};
}}; }};
{ {