Revert "Print stack trace upon exceptions"

Ain't nobody got time for link/cmake skullduggery.

This reverts commit fff238ec94.
This commit is contained in:
moneromooo-monero
2016-03-21 10:12:12 +00:00
parent 37fbb7a8b7
commit f7301c3563
43 changed files with 63 additions and 259 deletions

View File

@@ -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();
}