mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
blockchain_import: Add exception to log output
This commit is contained in:
parent
1cfe0bdbef
commit
412243901d
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path,
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
{
|
{
|
||||||
std::cout << refresh_string;
|
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;
|
return 2;
|
||||||
}
|
}
|
||||||
} // while
|
} // while
|
||||||
|
|
Loading…
Reference in a new issue