blockchain_import: Add exception to log output

getblocktemplate-height
warptangent 9 years ago
parent 1cfe0bdbef
commit 412243901d
No known key found for this signature in database
GPG Key ID: 0E490BEBFBE4E92D

@ -500,7 +500,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path,
catch (const std::exception& e)
{
std::cout << refresh_string;
LOG_PRINT_RED_L0("exception while reading from file, height=" << h);
LOG_PRINT_RED_L0("exception while reading from file, height=" << h << ": " << e.what());
return 2;
}
} // while

Loading…
Cancel
Save