mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00: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
|
@ -284,7 +284,7 @@ bool do_check_tx_verification_context(const cryptonote::tx_verification_context&
|
|||
{
|
||||
// Default block verification context check
|
||||
if (tvc.m_verifivation_failed)
|
||||
throw tools::runtime_error("Transaction verification failed");
|
||||
throw std::runtime_error("Transaction verification failed");
|
||||
return true;
|
||||
}
|
||||
//--------------------------------------------------------------------------
|
||||
|
@ -307,7 +307,7 @@ bool do_check_block_verification_context(const cryptonote::block_verification_co
|
|||
{
|
||||
// Default block verification context check
|
||||
if (bvc.m_verifivation_failed)
|
||||
throw tools::runtime_error("Block verification failed");
|
||||
throw std::runtime_error("Block verification failed");
|
||||
return true;
|
||||
}
|
||||
//--------------------------------------------------------------------------
|
||||
|
@ -621,7 +621,7 @@ inline bool do_replay_file(const std::string& filename)
|
|||
if (!tools::serialize_obj_to_file(events, filename)) \
|
||||
{ \
|
||||
std::cout << concolor::magenta << "Failed to serialize data to file: " << filename << concolor::normal << std::endl; \
|
||||
throw tools::runtime_error("Failed to serialize data to file"); \
|
||||
throw std::runtime_error("Failed to serialize data to file"); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue