mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Changed boost error handling (#74)
This commit is contained in:
@@ -77,15 +77,6 @@ void signal_handler(int signum)
|
||||
|
||||
namespace boost
|
||||
{
|
||||
/**
|
||||
* Global exception handler for boost exceptions.
|
||||
*/
|
||||
void throw_exception(std::exception const &e)
|
||||
{
|
||||
LOG_ERR << "Boost error: " << e.what() << "\n"
|
||||
<< boost::stacktrace::stacktrace();
|
||||
exit(1);
|
||||
}
|
||||
|
||||
inline void assertion_failed_msg(char const *expr, char const *msg, char const *function, char const * /*file*/, long /*line*/)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user