aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
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/rpc_command_executor.cpp
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/rpc_command_executor.cpp')
-rw-r--r--src/daemon/rpc_command_executor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index ffda7cde3..13cc5fadc 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -28,6 +28,7 @@
//
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
+#include "common/exception.h"
#include "string_tools.h"
#include "common/scoped_message_writer.h"
#include "daemon/rpc_command_executor.h"
@@ -88,7 +89,7 @@ t_rpc_command_executor::t_rpc_command_executor(
{
if (rpc_server == NULL)
{
- throw std::runtime_error("If not calling commands via RPC, rpc_server pointer must be non-null");
+ throw tools::runtime_error("If not calling commands via RPC, rpc_server pointer must be non-null");
}
}