This commit is contained in:
Nav
2021-11-17 21:45:56 +00:00
parent 3fee62d5ea
commit e45a235d22
3 changed files with 10 additions and 4 deletions

View File

@@ -7,7 +7,10 @@ using namespace Bloom;
void ApplicationConfig::init(const QJsonObject& jsonObject) {
if (!jsonObject.contains("environments")) {
throw Exceptions::InvalidConfig("No environments found.");
throw Exceptions::InvalidConfig(
"No environments found - please review the bloom.json configuration file and ensure that "
"no syntax errors are present."
);
}
// Extract all environment objects from JSON config.