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
+2 -1
View File
@@ -33,6 +33,7 @@
#include <list>
#include <string>
#include <exception>
#include "common/exception.h"
#include "crypto/hash.h"
#include "cryptonote_core/cryptonote_basic.h"
#include "cryptonote_core/difficulty.h"
@@ -151,7 +152,7 @@ struct output_data_t
/***********************************
* Exception Definitions
***********************************/
class DB_EXCEPTION : public std::exception
class DB_EXCEPTION : public tools::exception
{
private:
std::string m;