diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index 7b6a2c1a..97ef0280 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include "I2PEndian.h" #include "Base.h" @@ -139,8 +140,7 @@ namespace data auto numRouters = m_RouterInfos.size (); if (numRouters == 0) { - LogPrint(eLogError, "NetDb: no known routers, reseed seems to be totally failed"); - break; + throw std::runtime_error("No known routers, reseed seems to be totally failed"); } else // we have peers now m_FloodfillBootstrap = nullptr;