Print stack trace upon exceptions

Useful for debugging users' logs
This commit is contained in:
moneromooo-monero
2016-03-19 21:48:36 +00:00
parent d7fb03fc97
commit fff238ec94
43 changed files with 259 additions and 63 deletions
+1 -1
View File
@@ -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));