Debug tests

This commit is contained in:
Alexey Milovidov 2020-07-16 06:02:20 +03:00
parent 82ea884d01
commit 68f9fd3767

View File

@ -118,14 +118,14 @@ public:
{
try
{
std::cerr << "Done: " << done << "\n";
LOG_TRACE(storage.log, "Done: {}\n", done);
if (!done)
{
/// Rollback partial writes.
streams.clear();
std::cerr << "Repairing\n";
LOG_TRACE(storage.log, "Repairing");
storage.file_checker.repair();
}