mirror of
https://github.com/monero-project/monero.git
synced 2025-07-22 22:10:45 -04:00
Revert "Print stack trace upon exceptions"
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94
.
This commit is contained in:
parent
37fbb7a8b7
commit
f7301c3563
43 changed files with 63 additions and 259 deletions
|
@ -41,7 +41,6 @@
|
|||
|
||||
#include "syncobj.h"
|
||||
#include "string_tools.h"
|
||||
#include "common/exception.h"
|
||||
#include "tx_pool.h"
|
||||
#include "cryptonote_basic.h"
|
||||
#include "common/util.h"
|
||||
|
@ -315,7 +314,7 @@ namespace cryptonote
|
|||
"m_invalid_blocks: " << m_invalid_blocks.size() << ENDL <<
|
||||
"m_current_block_cumul_sz_limit: " << m_current_block_cumul_sz_limit);
|
||||
|
||||
throw tools::runtime_error("Blockchain data corruption");
|
||||
throw std::runtime_error("Blockchain data corruption");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
//
|
||||
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
|
||||
|
||||
#include "common/exception.h"
|
||||
#include "checkpoints_create.h"
|
||||
#include "common/dns_utils.h"
|
||||
#include "include_base_utils.h"
|
||||
|
|
|
@ -161,7 +161,7 @@ namespace cryptonote
|
|||
cryptonote::checkpoints checkpoints;
|
||||
if (!cryptonote::create_checkpoints(checkpoints))
|
||||
{
|
||||
throw tools::runtime_error("Failed to initialize checkpoints");
|
||||
throw std::runtime_error("Failed to initialize checkpoints");
|
||||
}
|
||||
set_checkpoints(std::move(checkpoints));
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include <boost/program_options/variables_map.hpp>
|
||||
#include <boost/interprocess/sync/file_lock.hpp>
|
||||
|
||||
#include <common/exception.h>
|
||||
#include "p2p/net_node_common.h"
|
||||
#include "cryptonote_protocol/cryptonote_protocol_handler_common.h"
|
||||
#include "storages/portable_storage_template_helper.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include <boost/interprocess/detail/atomic.hpp>
|
||||
#include <boost/limits.hpp>
|
||||
#include <boost/foreach.hpp>
|
||||
#include "common/exception.h"
|
||||
#include "misc_language.h"
|
||||
#include "include_base_utils.h"
|
||||
#include "cryptonote_basic_impl.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue