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")) if (! config.exists("server"))
{ {
log << log <<
"Missing section: [server]\n"; "Required section [server] is missing\n";
return result; throw std::exception();
} }
ParsedPort common; ParsedPort common;