aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
commit0b4e75026a36a48adaff9f6973be3ab882548599 (patch)
tree18d3ab32dfd303b6256c0571cfd9d893db858531 /src/daemon/rpc.h
parentMerge pull request #738 (diff)
parentRevert "Print stack trace upon exceptions" (diff)
downloadmonero-0b4e75026a36a48adaff9f6973be3ab882548599.tar.xz
Merge pull request #740
f7301c3 Revert "Print stack trace upon exceptions" (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc.h')
-rw-r--r--src/daemon/rpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h
index caeae9a3d..bfd2afd84 100644
--- a/src/daemon/rpc.h
+++ b/src/daemon/rpc.h
@@ -55,7 +55,7 @@ public:
LOG_PRINT_L0("Initializing core rpc server...");
if (!m_server.init(vm))
{
- throw tools::runtime_error("Failed to initialize core rpc server.");
+ throw std::runtime_error("Failed to initialize core rpc server.");
}
LOG_PRINT_GREEN("Core rpc server initialized OK on port: " << m_server.get_binded_port(), LOG_LEVEL_0);
}
@@ -65,7 +65,7 @@ public:
LOG_PRINT_L0("Starting core rpc server...");
if (!m_server.run(2, false))
{
- throw tools::runtime_error("Failed to start core rpc server.");
+ throw std::runtime_error("Failed to start core rpc server.");
}
LOG_PRINT_L0("Core rpc server started ok");
}