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

@@ -28,7 +28,6 @@
//
// 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"
@@ -89,7 +88,7 @@ t_rpc_command_executor::t_rpc_command_executor(
{
if (rpc_server == NULL)
{
throw tools::runtime_error("If not calling commands via RPC, rpc_server pointer must be non-null");
throw std::runtime_error("If not calling commands via RPC, rpc_server pointer must be non-null");
}
}