Changed boost error handling (#74)

This commit is contained in:
Ravidu Lashan
2019-12-19 19:50:18 +05:30
committed by GitHub
parent 7255dae84c
commit 1972085b33
3 changed files with 2 additions and 13 deletions

View File

@@ -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*/)
{