#include "logging.hpp" #include #include #include namespace boost { void throw_exception(const std::exception& e) { BMCWEB_LOG_CRITICAL << "Boost exception thrown " << e.what(); std::terminate(); } void throw_exception(const std::exception& e, const source_location& loc) { BMCWEB_LOG_CRITICAL << "Boost exception thrown " << e.what() << " from " << loc; std::terminate(); } } // namespace boost