std::abort();
}
- // Get the current backtrace and exception
- simgrid::xbt::Backtrace bt = simgrid::xbt::Backtrace();
+ // Get the current exception and show backtrace
try {
std::rethrow_exception(std::current_exception());
}
}
XBT_ERROR("Unknown uncaught exception");
}
- show_backtrace(bt);
+ show_backtrace(simgrid::xbt::Backtrace());
std::abort();
}