mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-07-11 03:45:07 +00:00
Print stack trace upon exceptions
Useful for debugging users' logs
This commit is contained in:
parent
d7fb03fc97
commit
fff238ec94
43 changed files with 259 additions and 63 deletions
|
@ -4,6 +4,7 @@
|
|||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
|
||||
#include "common/exception.h"
|
||||
#include "daemonizer/posix_fork.h"
|
||||
#include "misc_log_ex.h"
|
||||
|
||||
|
@ -20,7 +21,7 @@ namespace {
|
|||
void quit(std::string const & message)
|
||||
{
|
||||
LOG_ERROR(message);
|
||||
throw std::runtime_error(message);
|
||||
throw tools::runtime_error(message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue