diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-03-19 21:48:36 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-03-19 21:48:36 +0000 |
| commit | fff238ec94ac6d45fc18c315d7bc590ddfaad63d (patch) | |
| tree | d138554a5a13e650f45f3d8d4b8bd0c9c1748235 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | d7fb03fc97794febeb29f1983e313e1b9d1d85e6 (diff) | |
| download | monzero-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.cpp | 2 |
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)); |
