diff --git a/src/bin/auth/datasrc_clients_mgr.h b/src/bin/auth/datasrc_clients_mgr.h index d42d26cd01..48bae81569 100644 --- a/src/bin/auth/datasrc_clients_mgr.h +++ b/src/bin/auth/datasrc_clients_mgr.h @@ -36,6 +36,7 @@ #include #include +#include #include #include @@ -406,10 +407,10 @@ DataSrcClientsBuilderBase::run() { // We explicitly catch exceptions so we can log it as soon as possible. LOG_FATAL(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED). arg(ex.what()); - assert(false); + std::terminate(); } catch (...) { LOG_FATAL(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED_UNEXPECTED); - assert(false); + std::terminate(); } }