mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Throws, explicits and trivial cleanups
This commit is contained in:
committed by
Nik Bougalis
parent
8e842b5893
commit
ed9f5639a8
@@ -1046,13 +1046,13 @@ void ApplicationImp::setup()
|
||||
if (!cluster_->load (config().section(SECTION_CLUSTER_NODES)))
|
||||
{
|
||||
m_journal.fatal << "Invalid entry in cluster configuration.";
|
||||
throw std::exception();
|
||||
Throw<std::exception>();
|
||||
}
|
||||
|
||||
if (!validators_->load (config().section (SECTION_VALIDATORS)))
|
||||
{
|
||||
m_journal.fatal << "Invalid entry in validator configuration.";
|
||||
throw std::exception();
|
||||
Throw<std::exception>();
|
||||
}
|
||||
|
||||
if (validators_->size () == 0 && !config_->RUN_STANDALONE)
|
||||
|
||||
Reference in New Issue
Block a user