mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Throw if rippled.cfg is missing a [server] section
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user