aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blockchain_import.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2016-02-04 17:09:03 -0800
committerwarptangent <warptangent@tutanota.com>2016-02-08 08:50:27 -0800
commit412243901d0ad7c352fe1772ed3be81c0993124f (patch)
tree9bde45e6b01a2ff76687b42d8f97f2ff5fdbb173 /src/blockchain_utilities/blockchain_import.cpp
parentMerge pull request #648 (diff)
downloadmonero-412243901d0ad7c352fe1772ed3be81c0993124f.tar.xz
blockchain_import: Add exception to log output
Diffstat (limited to '')
-rw-r--r--src/blockchain_utilities/blockchain_import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp
index 30090bd78..247bab30f 100644
--- a/src/blockchain_utilities/blockchain_import.cpp
+++ b/src/blockchain_utilities/blockchain_import.cpp
@@ -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