mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 04:25:51 +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"))
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user