aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.cpp
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/daemon.cpp
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/daemon.cpp')
-rw-r--r--src/daemon/daemon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index d44538358..e79823d08 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -110,7 +110,7 @@ bool t_daemon::run(bool interactive)
{
if (nullptr == mp_internals)
{
- throw tools::runtime_error{"Can't run stopped daemon"};
+ throw std::runtime_error{"Can't run stopped daemon"};
}
tools::signal_handler::install(std::bind(&daemonize::t_daemon::stop_p2p, this));
@@ -155,7 +155,7 @@ void t_daemon::stop()
{
if (nullptr == mp_internals)
{
- throw tools::runtime_error{"Can't stop stopped daemon"};
+ throw std::runtime_error{"Can't stop stopped daemon"};
}
mp_internals->p2p.stop();
mp_internals->rpc.stop();
@@ -166,7 +166,7 @@ void t_daemon::stop_p2p()
{
if (nullptr == mp_internals)
{
- throw tools::runtime_error{"Can't send stop signal to a stopped daemon"};
+ throw std::runtime_error{"Can't send stop signal to a stopped daemon"};
}
mp_internals->p2p.get().send_stop_signal();
}