From 7f4716c5e589e0cec625d74abdbff7a6032003af Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 3 May 2018 20:11:16 -0700 Subject: [PATCH] modules/client/sync: Use a real error log message on polylog sync backout. --- modules/client/sync.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/client/sync.cc b/modules/client/sync.cc index b8e24c2cd..8b2939a68 100644 --- a/modules/client/sync.cc +++ b/modules/client/sync.cc @@ -591,7 +591,13 @@ polylog_sync(client &client, { 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 + }; }}; {