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

View File

@@ -156,7 +156,7 @@ namespace
}
}
throw std::runtime_error("invalid public key wasn't found");
throw tools::runtime_error("invalid public key wasn't found");
return crypto::public_key();
}
}