aboutsummaryrefslogtreecommitdiff
path: root/src/miner
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/miner
parentMerge pull request #732 (diff)
downloadmonero-fff238ec94ac6d45fc18c315d7bc590ddfaad63d.tar.xz
Print stack trace upon exceptions
Useful for debugging users' logs
Diffstat (limited to 'src/miner')
-rw-r--r--src/miner/simpleminer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/miner/simpleminer.cpp b/src/miner/simpleminer.cpp
index ba956d90b..19db3f534 100644
--- a/src/miner/simpleminer.cpp
+++ b/src/miner/simpleminer.cpp
@@ -28,6 +28,7 @@
//
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
+#include "common/exception.h"
#include "common/command_line.h"
#include "misc_log_ex.h"
#include "simpleminer.h"