aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/protocol.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-20 21:25:24 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-20 21:25:24 +0200
commitb72f143724f07c52c6688d792ebd20f25f104d37 (patch)
treed138554a5a13e650f45f3d8d4b8bd0c9c1748235 /src/daemon/protocol.h
parentMerge pull request #732 (diff)
parentPrint stack trace upon exceptions (diff)
downloadmonero-b72f143724f07c52c6688d792ebd20f25f104d37.tar.xz
Merge pull request #733
fff238e Print stack trace upon exceptions (moneromooo-monero)
Diffstat (limited to 'src/daemon/protocol.h')
-rw-r--r--src/daemon/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/protocol.h b/src/daemon/protocol.h
index 8e2add4a2..5f6c317b1 100644
--- a/src/daemon/protocol.h
+++ b/src/daemon/protocol.h
@@ -50,7 +50,7 @@ public:
LOG_PRINT_L0("Initializing cryptonote protocol...");
if (!m_protocol.init(vm))
{
- throw std::runtime_error("Failed to initialize cryptonote protocol.");
+ throw tools::runtime_error("Failed to initialize cryptonote protocol.");
}
LOG_PRINT_L0("Cryptonote protocol initialized OK");
}