Throw if rippled.cfg is missing a [server] section

This commit is contained in:
Vinnie Falco
2014-11-07 11:48:31 -08:00
parent 1e58809fcc
commit 2bae5b0959

View File

@@ -650,8 +650,8 @@ parse_Ports (BasicConfig const& config, std::ostream& log)
if (! config.exists("server"))
{
log <<
"Missing section: [server]\n";
return result;
"Required section [server] is missing\n";
throw std::exception();
}
ParsedPort common;