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
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
43 changed files with 63 additions and 259 deletions

View file

@ -84,9 +84,9 @@ namespace epee
inline throwable_buffer_reader::throwable_buffer_reader(const void* ptr, size_t sz)
{
if(!ptr)
throw tools::runtime_error("throwable_buffer_reader: ptr==nullptr");
throw std::runtime_error("throwable_buffer_reader: ptr==nullptr");
if(!sz)
throw tools::runtime_error("throwable_buffer_reader: sz==0");
throw std::runtime_error("throwable_buffer_reader: sz==0");
m_ptr = (uint8_t*)ptr;
m_count = sz;
m_recursion_count = 0;