aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-19 21:48:36 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-19 21:48:36 +0000
commitfff238ec94ac6d45fc18c315d7bc590ddfaad63d (patch)
treed138554a5a13e650f45f3d8d4b8bd0c9c1748235 /src/cryptonote_core/cryptonote_core.cpp
parentd7fb03fc97794febeb29f1983e313e1b9d1d85e6 (diff)
downloadmonzero-core-fff238ec94ac6d45fc18c315d7bc590ddfaad63d.tar.gz
monzero-core-fff238ec94ac6d45fc18c315d7bc590ddfaad63d.tar.xz
monzero-core-fff238ec94ac6d45fc18c315d7bc590ddfaad63d.zip
Print stack trace upon exceptions
Useful for debugging users' logs
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 6f0fe88a4..907f9d803 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -161,7 +161,7 @@ namespace cryptonote
cryptonote::checkpoints checkpoints;
if (!cryptonote::create_checkpoints(checkpoints))
{
- throw std::runtime_error("Failed to initialize checkpoints");
+ throw tools::runtime_error("Failed to initialize checkpoints");
}
set_checkpoints(std::move(checkpoints));